摘要: You 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 b b r b r r b r b ... 阅读全文
posted @ 2012-07-13 20:38 kaisadadi 阅读(172) 评论(0) 推荐(0) 编辑