![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
kmp
文章平均质量分 88
dreamnyc
这个作者很懒,什么都没留下…
展开
-
poj 2406 Power Strings KMP的next数组的应用
Power StringsDescriptionGiven 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 concatenation as multipli原创 2016-06-09 10:40:11 · 384 阅读 · 0 评论 -
hdu 1711 Number Sequence KMP模板题
题目:Number SequenceTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Description Given two sequences of numbers : a[1], a[2], …… , a[N], and b[1], b[2], …… , b[M原创 2016-06-07 10:19:27 · 550 阅读 · 0 评论