FZUOJ 1901 Period II
FZUOJ 1901 Period IIFor each prefix with length P of a given string S,ifS[i]=S[i+P] for i in [0…SIZE(S)-p-1],then the prefix is a “period” of S. We want to all the periodic prefixs.InputInput con...
原创
2020-03-31 18:21:26 ·
2250 阅读 ·
0 评论