Broken Necklace(模擬)

 Broken Necklace 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:
相關文章
相關標籤/搜索