码迷,mamicode.com
首页 >  
搜索关键字:lightoj 1214    ( 714个结果
lightoj 1079 Just another Robbery 解题心得
原题: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
LightOJ Aladdin and the Flying Carpet 1341【算数基本定理+几何】
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
LightOJ Bi-shoe and Phi-shoe 1370【欧拉函数+素数打表】
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) -;lightoj 1138
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
LightOJ Trailing Zeroes (III) 1138【二分搜索+阶乘分解】
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
LightOJ Array Queries 1082【线段树求区间最值】
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
LightOJ 1138
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
LightOj 1282 Leading and Trailing
求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
LightOJ 1094
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
LightOJ 1112 Curious Robin Hood (单点更新+区间求和)
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
714条   上一页 1 ... 52 53 54 55 56 ... 72 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!