递推
文章平均质量分 65
JogRunner
这个作者很懒,什么都没留下…
展开
-
hdu 1995
OJ #include #include using namespace std; typedef __int64 LL; LL fu(int n,int k) { if(n==k) return 1; if(n==k+1) return 2; LL re = fu(n-1,k); return re+re; } int main() { int test; ci原创 2012-07-07 23:42:38 · 511 阅读 · 0 评论 -
hdu 1391
OJ #include #include using namespace std; void init() { int test; cin>>test; while(test--) { int x,y; cin>>x>>y; if(x==0&&y==0) cout<<0<<endl; else if(x==1&&y==1) cout原创 2012-07-10 09:42:13 · 361 阅读 · 0 评论 -
消除之王
消除之王 Time Limit : 3000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other) Total Submission(s) : 7 Accepted Submission(s) : 3 Font: Times New Roman | Verdana | Georgia Font Size: ←原创 2013-08-30 12:03:27 · 815 阅读 · 0 评论