摘要: 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 want to all the per 阅读全文
posted @ 2019-08-06 17:23 晴天要下雨 阅读(365) 评论(0) 推荐(0)
摘要: Homer: Marge, I just figured out a way to discover some of the talents we weren’t aware we had. Marge: Yeah, what is it? Homer: Take me for example. I 阅读全文
posted @ 2019-08-06 16:05 晴天要下雨 阅读(621) 评论(0) 推荐(1)