POINT : 质因子分解;(仅给题解)http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=1721题意:给你两个整数m和n,求最大的k使...
分类:
其他好文 时间:
2014-08-21 14:50:14
阅读次数:
233
题目链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4613
数学统计...
分类:
其他好文 时间:
2014-08-20 12:35:02
阅读次数:
155
https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4441题意:有n个靶子,每个靶子有3个val,需要满足3钟情况分别得到他们的val。问最大的...
分类:
其他好文 时间:
2014-08-17 01:02:21
阅读次数:
161
链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=&problem=1006Problem AUseless Tile PackersInput:sta...
分类:
其他好文 时间:
2014-08-16 22:22:31
阅读次数:
280
uvaLive5913:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3924题意:给你n个串,然后你可以用串的非空前缀和非空后缀组成新的单...
分类:
其他好文 时间:
2014-08-14 16:38:18
阅读次数:
244
uva11488:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2483题意:给你n个串,对于一个前缀,如果出现k次,就会得到前缀的...
分类:
其他好文 时间:
2014-08-14 15:58:28
阅读次数:
255
Problem APlay with Floor and Ceilhttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=18&page=show_problem&problem=1614扩展gcd求...
分类:
其他好文 时间:
2014-08-14 13:30:08
阅读次数:
310
来源:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=4&problem=227&mosmsg=Submission+received+with+ID+14026069
The House Of Santa Claus
In...
分类:
其他好文 时间:
2014-08-12 17:08:04
阅读次数:
288
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4174
考虑第i个人当裁判的情形。假设从a1到ai-1有ci个人比ai小,那么就有(i-1)-ci个比ai大。di同理。
根据乘法原理和加法原理,i当裁判时有ci(n-i-di)+di(...
分类:
其他好文 时间:
2014-08-12 13:45:44
阅读次数:
193
UVALive
6434
题目链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4445
这题正好就是大一小学期的时候好像是曦曦出的那个牛那题吧,就是要买多少块板然后正好把牛给拦完。这题也是一样,就是找最大的距离,当做隔板,依次把...
分类:
其他好文 时间:
2014-08-11 18:07:42
阅读次数:
338