HDU 2087 kmp模板题

s为主串 t为模板串 求t的nextt 加consthtml #include<stdio.h> #include<string.h> #include<algorithm> #include<map> #include<math.h> #include<queue> using namespace std; char s[1005]; char t[1005]; int nextt[1005];
相关文章
相关标签/搜索