标签:des style java color os strong io width
3 4 5 -1
2 3 5you can use 64bit integer: __int64HintNote:
#include<stdio.h> __int64 a[55]={0,1}; int main() { int i; int m; for(i=2;i<51;i++) a[i]=a[i-1]+a[i-2]; while(scanf("%d",&m)&&(m!=-1)) { printf("%I64d\n",a[m]); } return 0; }
HDU 2070 Fibbonacci Number,布布扣,bubuko.com
标签:des style java color os strong io width
原文地址:http://blog.csdn.net/qq_16767427/article/details/38109557