
kmp
文章平均质量分 90
Excelsior_kereo
这个作者很懒,什么都没留下…
展开
-
poj 2406 Power Strings kmp
Language: Default Power Strings Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 30779 Accepted: 12821 Description Given two strings a and b we define a原创 2014-05-31 20:18:26 · 921 阅读 · 0 评论 -
codeforces535D Tavas and Malekas kmp
题目链接 题意:给定字符串s的长度n, x1, x2, ... xk中选取m个位置 给定字符串p y1, y2, ..., ym x1, x2, ... xk中每个xi满足sxisxi + 1... sxi + |p| - 1 = p 求满足条件的字符串有多少种,对10^9+7取原创 2015-04-20 14:00:02 · 941 阅读 · 0 评论