ZOJ 2969 && BNU16488 Easy Task...
分类:
其他好文 时间:
2015-01-27 00:39:40
阅读次数:
153
ZOJ 1049 &&HDU 1065 I Think I Need a Houseboat...
分类:
其他好文 时间:
2015-01-27 00:38:36
阅读次数:
140
ZOJ 1037 && HDU 1046 Gridland (找规律)...
分类:
其他好文 时间:
2015-01-26 22:45:49
阅读次数:
259
B - Weapon Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionIn World War 3, your countries' scientists have i...
分类:
编程语言 时间:
2015-01-26 15:01:46
阅读次数:
308
zoj 1864
题目链接:
点击打开链接
题意:
求自然数幂和。
限制:
0
思路:
k不大,而且答案不取模,直接搞
(n+1)^(k+1) - n^(k+1) = C(k+1,1)*n^k + C(k+1,2)*n^(k-1) + ... + C(k+1,k)*n + 1;
(n+1)^(k+1) - 1 = ( (n+1)^(k+1) - n^(k+1) ) +...
分类:
其他好文 时间:
2015-01-26 10:20:12
阅读次数:
199
poj 3100 && zoj 2818 ( Root of the Problem )...
分类:
其他好文 时间:
2015-01-26 00:08:21
阅读次数:
252
ZOJ 1938 Binomial &&poj 2249 (Binomial Showdown )...
分类:
其他好文 时间:
2015-01-26 00:07:45
阅读次数:
190
ZOJ 2829 Beautiful Number(睡前一水)...
分类:
其他好文 时间:
2015-01-26 00:05:32
阅读次数:
164
POJ 2472 &&ZOJ 2797 (106 miles to Chicago)...
分类:
其他好文 时间:
2015-01-25 22:39:52
阅读次数:
149
Count the ColorsTime Limit: 2 Seconds Memory Limit: 65536 KBPainting some colored segments on a line, some previously painted segments may be cover...
分类:
其他好文 时间:
2015-01-25 15:03:33
阅读次数:
121