SkyWT

SkyWT

我们的征途是星辰大海

✨ 全新设计的 Daydream 主题,强大的功能集成为你提供优雅的体验。欢迎使用。

Description

Link

Ivan wants to make a necklace as a present to his beloved girl. A necklace is a cyclic sequence of beads of different colors. Ivan says that necklace is beautiful relative to the cut point between two adjacent beads, if the chain of beads remaining after this cut is a palindrome (reads the same forward and backward).

More...


Topcoder Single Round Match 634 Div 2 T3 SpecialStrings 题解

More...