标签:style http color os io ar for 数据 div
1 2 6
1 2 13
代码:
#include<stdio.h> int main() { int i; long long f[51]; f[1]=1;f[2]=2; f[3]=3; for(i=4;i<51;++i) f[i]=f[i-1]+f[i-2]; int n; while(~scanf("%d",&n)) { printf("%lld\n",f[n]); } return 0; }
标签:style http color os io ar for 数据 div
原文地址:http://blog.csdn.net/qq_18062811/article/details/39054567