![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
字符串_KMP
TouchDreamer
这个作者很懒,什么都没留下…
展开
-
HDU【2203】亲和串
亲和串Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10739 Accepted Submission(s): 4886Problem Description人随着岁数的增长是越大越聪明还是越大越笨,原创 2016-01-13 09:01:14 · 351 阅读 · 0 评论 -
NYOJ Binary String Matching
Binary String Matching时间限制:3000 ms | 内存限制:65535 KB难度:3描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as a su原创 2016-04-27 17:40:52 · 229 阅读 · 0 评论 -
hihoCoder #1032 : 最长回文子串
题目分析 求最长回文串的长度,一道模板题,如果大家有谁不懂这个算法,可以到这个博客上看一下,我感觉写的非常好,仔细看一定能看懂。浅谈manacher算法#include <cstdio>#include <cstring>#include <iostream>#include <algorithm>using namespace std;const int maxn = 10000原创 2016-05-12 21:11:12 · 266 阅读 · 0 评论