摘要: 见Goolglehttp://zh.wikipedia.org/zh-cn/%E6%95%B4%E6%95%B8%E5%88%86%E6%8B%86 1 /* 2 数学公式 3 ans[i]:i可以有ans[i]种方法得到。(由1-i的数相加) 4 */ 5 #include 6 typedef long long int64; 7 const int maxn = 100000; 8 const int64 mod = 1000000007; 9 int64 ans[ maxn+15 ];10 void init(){11 int64 flag,k;12 ans[ 0 ] =... 阅读全文
posted @ 2013-08-15 20:26 xxx0624 阅读(280) 评论(0) 推荐(0) 编辑