摘要: After an uphill battle, General Li won a great victory. Now the head of state decide to reward him with honor and treasures for his great exploit. One 阅读全文
posted @ 2017-04-10 21:42 joeylee97 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 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 @ 2017-04-10 16:00 joeylee97 阅读(223) 评论(0) 推荐(0) 编辑