摘要:
原题链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=25201串 1 #include<stdio.h> 2 int len[45]={0}; 3 int Len(int m) 4 { 5 return len[m]=len[m]>0?len[m]:Len(m-1)+Len(m-2); 6 } 7 int main() 8 { 9 int T,m;10 scanf("%d",&T);11 len[1]=2;len[2]=3;12 Len(40);13 while(T--)14 {15 ... 阅读全文
posted @ 2013-05-28 00:16
EtheGreat
阅读(116)
评论(0)
推荐(0)