#16512: 懶人法 by C


freedom501999@gmail.com (帥氣魔方生)


遞迴太慢,DP麻煩,直接用迴圈解決

a=2;
b=1;
while(n--)
{
c=a+b;
b=a;
a=c;
}
printf("%llu\n",a);