Pushing BoxesTime Limit: 2000msMemory Limit: 131072KBThis problem will be judged onPKU. Original ID:147564-bit integer IO format:%lld Java class name:...
分类:
其他好文 时间:
2014-10-02 01:17:21
阅读次数:
243
1069 - Always an integer题意:给定一个多项式,推断是否总是整数思路:LRJ大白上的例题,上面给出了证明,仅仅要1到k + 1(k为最高次数)带入方程都是整数,那么整个方程就是整数,处理出字符串后,然后过程用高速幂计算,推断最后答案是否为0,看是否全都满足是整数。代码:#inc...
分类:
其他好文 时间:
2014-10-01 23:29:52
阅读次数:
213
测试用例:所用java类: StdOut,StdIn , Counter, StdRandom,public class Flips { public static void main(String[] args) { int T = Integer.pa...
分类:
其他好文 时间:
2014-10-01 21:31:51
阅读次数:
183
Eight IITime Limit: 2000msMemory Limit: 65536KBThis problem will be judged onHDU. Original ID:356764-bit integer IO format:%I64d Java class name:MainE...
分类:
其他好文 时间:
2014-10-01 21:11:05
阅读次数:
272
Ahui Writes WordTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:373264-bit integer IO format:%I64d Java class na...
分类:
其他好文 时间:
2014-10-01 16:28:31
阅读次数:
176
免费馅饼Time Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:117664-bit integer IO format:%I64d Java class name:Main都说天上不...
分类:
其他好文 时间:
2014-10-01 14:09:11
阅读次数:
176
命运Time Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:257164-bit integer IO format:%I64d Java class name:Main穿过幽谷意味着...
分类:
其他好文 时间:
2014-10-01 13:58:31
阅读次数:
209
Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
分类:
其他好文 时间:
2014-10-01 13:35:41
阅读次数:
233
Monkey and BananaTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:106964-bit integer IO format:%I64d Java class n...
分类:
其他好文 时间:
2014-10-01 00:04:10
阅读次数:
207
Full Tank?Time Limit: 1000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:363564-bit integer IO format:%lld Java class name:Main...
分类:
其他好文 时间:
2014-09-30 21:46:20
阅读次数:
228