摘要:
Problem Description One day, sailormoon girls are so delighted that they intend to research about palindromic strings. Operation contains two steps:Fi 阅读全文
摘要:
Problem Description For each prefix with length P of a given string S,if S[i]=S[i+P] for i in [0..SIZE(S)-p-1], then the prefix is a “period” of S. We 阅读全文