摘要: Description We all know that Bin-Laden is a notorious terrorist, and he has disappeared for a long time. But recently, it is reported that he hides in 阅读全文
posted @ 2016-05-02 22:06 樱花落舞 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 普通生成函数 cin>>n for(int i=0;i<=n;i++) { a[i]=1; b[i]=0; } for(int i=2;i<=n;i++) { for(int j=0;j<=n;j++) { for(int k=0;k+j<=n;k+=i) { b[k+j]+=a[j]; } } f 阅读全文
posted @ 2016-05-02 21:51 樱花落舞 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Description People in Silverland use square coins. Not only they have square shapes but also their values are square numbers. Coins with values of all 阅读全文
posted @ 2016-05-02 21:46 樱花落舞 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 这次的题目是HDU1089-1096(如果你做对了请翻到最后面) 1089随便写就可以了 1090也一样 1091注意结束条件 1092还是注意结束条件 1093什么也没改,就是加了一个t组数据 1094 1095换两行,这个倒是对了 1096注意,最后一组数据是换一行的,我们可以用一个计数t表示现 阅读全文
posted @ 2016-05-02 17:16 樱花落舞 阅读(229) 评论(0) 推荐(0) 编辑