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 阅读全文
posted @ 2019-08-06 17:23 晴天要下雨 阅读(368) 评论(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 晴天要下雨 阅读(622) 评论(0) 推荐(1)
摘要:Period Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 22012 Accepted: 10679 Description For each prefix of a given string S with N charact 阅读全文
posted @ 2019-08-04 22:26 晴天要下雨 阅读(152) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2019-08-04 22:01 晴天要下雨 阅读(113) 评论(0) 推荐(0)