摘要: DescriptionThe repetition number of a string is defined as the maximum numberRsuch that the string can be partitioned intoRsame consecutive substrings. For example, the repetition number of "ababab" is 3 and "ababa" is 1.Given a string containing lowercase letters, you are to fin 阅读全文
posted @ 2014-02-01 20:41 Oyking 阅读(292) 评论(0) 推荐(0)