摘要:
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)