08 2019 档案
摘要: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
阅读全文
摘要: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
阅读全文
摘要:Period Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 22012 Accepted: 10679 Description For each prefix of a given string S with N charact
阅读全文
摘要:Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 65854 Accepted: 27197 Description Given two strings a and b we define a*b to be their conca
阅读全文

浙公网安备 33010602011771号