摘要:
Problem Description当日遇到月,于是有了明。当我遇到了你,便成了侣。那天,日月相会,我见到了你。而且,大地失去了光辉,你我是否成侣?这注定是个凄美的故事。(以上是废话)小t和所有世俗的人们一样,期待那百年难遇的日食。驻足街头看天,看日月渐渐走近,小t的脖子那个酸呀(他坚持这个姿势已...
阅读全文
posted @ 2015-08-28 10:58
pb2016
阅读(209)
推荐(1)
摘要:
Problem DescriptionToday is the 1st anniversary of BestCoder. Soda, the contest manager, gets a stringsof lengthn. He wants to find three nonoverlappi...
阅读全文
posted @ 2015-08-27 19:23
pb2016
阅读(161)
推荐(1)
摘要:
Problem DescriptionXX星球有很多城市,每个城市之间有一条或多条飞行通道,但是并不是所有的路都是很安全的,每一条路有一个安全系数s,s是在 0 和 1 间的实数(包括0,1),一条从u 到 v 的通道P 的安全度为Safe(P) = s(e1)*s(e2)…*s(ek) e1,e2...
阅读全文
posted @ 2015-08-26 17:09
pb2016
阅读(163)
推荐(1)
摘要:
Problem Description According to a research, VIM users tend to have shorter fingers, compared with Emacs users. Hence they prefer problems short, to...
阅读全文
posted @ 2015-08-26 11:21
pb2016
阅读(351)
推荐(1)
摘要:
Problem DescriptionGiven a number n, please count how many tuple(p1, p2, p3) satisfied that p1 2 #include 3 using namespace std; 4 const int N=10005; ...
阅读全文
posted @ 2015-08-25 18:52
pb2016
阅读(214)
推荐(1)
摘要:
DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because th...
阅读全文
posted @ 2015-08-25 12:32
pb2016
阅读(191)
推荐(1)
摘要:
DescriptionBessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible from...
阅读全文
posted @ 2015-08-25 12:27
pb2016
阅读(178)
推荐(0)
摘要:
Problem DescriptionIn Vivid’s school, there is a strange class(SC). In SC, the students’ names are very strange. They are in the same format:anbncn(a,...
阅读全文
posted @ 2015-08-24 19:46
pb2016
阅读(208)
推荐(1)
摘要:
Problem DescriptionLong long ago, there is a gunner whose name is Jack. He likes to go hunting very much. One day he go to the grove. There arenbirds ...
阅读全文
posted @ 2015-08-24 19:08
pb2016
阅读(176)
推荐(1)
摘要:
DescriptionThe little cat is so famous, that many couples tramp over hill and dale to Byteland, and asked the little cat to give names to their newly-...
阅读全文
posted @ 2015-08-24 11:25
pb2016
阅读(291)
推荐(1)