kmp
shemplle
这个作者很懒,什么都没留下…
展开
-
kmp题目
大神博客: 博客一 博客二 博客三 #include <cstdio> #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int maxn = 1e5+5; char str[maxn]; int nxt[max...原创 2018-05-02 23:05:02 · 319 阅读 · 0 评论 -
Prefix Substring (2018年徐州矿大亚洲区邀请赛热身赛)
Given two stringA ,B,how many sustring of A is prefix_substring of B ? Two substring are considered different if their first or last orboth indexes in A are differentInput Multiple test cases , the nu...原创 2018-06-04 22:54:03 · 285 阅读 · 0 评论 -
HDU -- Cyclic Nacklace [kmp]
Problem Description CC always becomes very depressed at the end of this month, he has checked his credit card yesterday, without any surprise, there are only 99.9 yuan left. he is too distressed and ...原创 2018-08-18 19:48:31 · 204 阅读 · 0 评论