原题:DescriptionAs Harry Potter series is over, Harry has no job. Since he wants to make quick money, (he wants everything quick!) so he decided to rob ...
分类:
其他好文 时间:
2015-08-21 21:02:58
阅读次数:
155
1341 - Aladdin and the Flying Carpet
PDF (English)
Statistics
Forum
Time Limit: 3 second(s)
Memory Limit: 32 MB
It's said that Aladdin had to solve seven my...
分类:
其他好文 时间:
2015-08-21 13:39:49
阅读次数:
145
1370 - Bi-shoe and Phi-shoe
PDF (English)
Statistics
Forum
Time Limit: 2 second(s)
Memory Limit: 32 MB
Bamboo Pole-vault is a massively popular sport in Xzh...
分类:
其他好文 时间:
2015-08-21 09:33:40
阅读次数:
311
Trailing Zeroes (III)PDF (English)StatisticsForumTime Limit:2 second(s)Memory Limit:32 MBYou task is to find minimal natural numberN, so thatN!contain...
分类:
其他好文 时间:
2015-08-21 09:25:23
阅读次数:
193
1138 - Trailing Zeroes (III)
PDF (English)
Statistics
Forum
Time Limit: 2 second(s)
Memory Limit: 32 MB
You task is to find minimal natural number N, so tha...
分类:
其他好文 时间:
2015-08-20 22:39:23
阅读次数:
232
1082 - Array Queries
PDF (English)
Statistics
Forum
Time Limit: 3 second(s)
Memory Limit: 64 MB
Given an array with N elements, indexed from 1 to N. Now you...
分类:
其他好文 时间:
2015-08-20 22:34:20
阅读次数:
209
Description:You task is to find minimal natural numberN, so thatN!contains exactlyQzeroes on the trail in decimal notation. As you knowN! = 1*2*...*N....
分类:
其他好文 时间:
2015-08-20 22:10:22
阅读次数:
209
求n^k的前三位数字和后三位数字。范围:n (2 ≤ n lg(n^k)=lg(x) ---> klg(n)=lg(x) ---> x=10^(klgn). 因为求前三位,klgn大于2的整数部分可以舍弃。bit=floor(klgn-2), x=10^(klgn-bit)。后三...
分类:
其他好文 时间:
2015-08-19 16:08:08
阅读次数:
131
Description:Given a tree (a connected graph with no cycles), you have to find the farthest nodes in the tree. The edges of the tree are weighted and u...
分类:
其他好文 时间:
2015-08-18 15:53:15
阅读次数:
157
http://lightoj.com/volume_showproblem.php?problem=1112题目大意:1 i 将第i个数值输出,并将第i个值清02 i v 将第i个数值加v3 i j 输出从i到j的数值和简单的单点更新+区间求和,代码很简单的模板但此题有一个神坑的地方当...
分类:
其他好文 时间:
2015-08-18 13:49:48
阅读次数:
119