![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
KMP算法
lansetiankong_yiyi
这个作者很懒,什么都没留下…
展开
-
PKU 2406 KMP算法
Power StringsTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 14072Accepted: 5890<br />DescriptionGiven two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of concate原创 2010-08-26 21:20:00 · 377 阅读 · 0 评论 -
PKU 1961 KMP算法
PeriodTime Limit: 3000MSMemory Limit: 30000KTotal Submissions: 6019Accepted: 2556<br />DescriptionFor each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether the prefix is原创 2010-08-26 21:23:00 · 371 阅读 · 0 评论