摘要: Broken NecklaceYou have a necklace of N red, white, or blue beads (3<=N<=350) some of which are red, others blue, and others white, arranged at random. Here are two examples for n=29: 1 2 1 2 r ... 阅读全文
posted @ 2009-07-22 10:16 Forgetting 阅读(280) 评论(0) 推荐(0)
摘要: Greedy Gift GiversA group of NP (2 ≤ NP ≤ 10) uniquely named friends has decided to exchange gifts of money. Each of these friends might or might not give some money to any or all of the o... 阅读全文
posted @ 2009-07-22 10:14 Forgetting 阅读(255) 评论(0) 推荐(0)
摘要: Your Ride Is HereIt is a well-known fact that behind every good comet is a UFO. These UFOs often come to collect loyal supporters from here on Earth. Unfortunately, they only have room to pick up one ... 阅读全文
posted @ 2009-07-21 17:25 Forgetting 阅读(207) 评论(0) 推荐(0)
摘要: Friday the ThirteenthIs Friday the 13th really an unusual event? That is, does the 13th of the month land on a Friday less often than on any other day of the week? To answer this question, write a pro... 阅读全文
posted @ 2009-07-21 17:21 Forgetting 阅读(195) 评论(0) 推荐(0)
摘要: A + B Problem IITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 32082Accepted Submission(s): 5683Problem DescriptionI have a very simple problem for... 阅读全文
posted @ 2009-07-10 22:15 Forgetting 阅读(1083) 评论(1) 推荐(0)
点击右上角即可分享
微信分享提示