【KMP】
云淡风轻<<
这个作者很懒,什么都没留下…
展开
-
POJ 3080 Blue Jeans
The Genographic Project is a research partnership between IBM and The National Geographic Society that is analyzing DNA from hundreds of thousands of contributors to map how the Earth was populated. A...原创 2019-07-17 11:59:31 · 75 阅读 · 0 评论 -
HDU 2594(-Simpsons’ Hidden Talent)
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 want to find out if I have a talent in politics, ...原创 2019-07-17 16:25:12 · 70 阅读 · 0 评论 -
KMP总结
自己的模板 判断模式串在总串的哪个位置开始出现 #include <iostream> #include<algorithm> #include<string.h> #include<stdio.h> using namespace std; int ne[10005]; int s[1000005],p[10005]; int m,n; void ...原创 2019-10-25 16:07:36 · 100 阅读 · 0 评论