The Troublesome Frog
Time Limit: 5000MS Memory Limit: 100000K
Total Submissions: 11339 Accepted: 3383
Case Time Limit: 500MSDescription
In Korea, the naughtiness of the cheonggaeguri, a...
分类:
其他好文 时间:
2016-04-11 14:31:42
阅读次数:
212
挺简单的题目,但是有一堆恶心的边界 在刨去恶心的边界之后: 假定我们知道两边的循环节为b1,b2 其中h第一次到达目标的时间为a1,a2 又知道对于答案t t=a1+b1*t1=a2+b2*t2 不妨枚举t1,判断是否存在可行解即可 又因为LCM(b1,b2)就开始循环了 且b1*b2<=b1*mo ...
分类:
其他好文 时间:
2016-04-04 22:37:04
阅读次数:
160
import BaseHTTPServerimport cgi, random, sysMESSAGES = ["That's as maybe, it's still a frog.","Albatross! Albatross! Albatross!","It's Wolfgang Amadeu
分类:
编程语言 时间:
2016-03-16 00:50:20
阅读次数:
204
摘自 <<英语中级听力>> 是做鸡头还是凤尾? 是选择大城市还是小地方? 每个人在不同的时期都有不同的答案。 来看看这个英国的寓言, 年轻时见见"大池塘"的繁华, 年长后在被"鹭"吃掉之前, 回到属于自己的"小池塘", 或许才是人生真谛 - 返璞归真。 one upon a time a big,
分类:
其他好文 时间:
2016-03-05 06:52:07
阅读次数:
238
Frogger Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 24879 Accepted: 8076 Description Freddy Frog is sitting on a stone in the middle of
分类:
其他好文 时间:
2016-02-22 08:57:07
阅读次数:
207
FroggerTime Limit:1000MSMemory Limit:65536KTotal Submissions:32257Accepted:10396DescriptionFreddy Frog is sitting on a stone in the middle of a lake. ...
分类:
其他好文 时间:
2016-01-20 22:42:41
阅读次数:
226
Friendship of FrogTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5578DescriptionN frogs from different countries ...
分类:
其他好文 时间:
2015-12-08 16:00:32
阅读次数:
199
Problem DescriptionA frog has just learned some number theory, and can't wait to show his ability to his girlfriend.Now the frog is sitting on a grid ...
分类:
其他好文 时间:
2015-12-02 22:09:55
阅读次数:
235
Problem DescriptionIn the Kingdom of Black and White (KBW), there are two kinds of frogs: black frog and white frog.Now N frogs are standing in a line...
分类:
其他好文 时间:
2015-12-02 00:35:38
阅读次数:
249
Problem DescriptionN frogs from different countries are standing in a line. Each country is represented by a lowercase letter. The distance between ad...
分类:
其他好文 时间:
2015-12-01 22:59:06
阅读次数:
201