KMP 模板 hdu 2087

#include <iostream> #include <cstring> #include <cstdio> using namespace std; #define LL long long char s[1005]; char zc[1005]; int nex[1005]; void get_next(char *s,int len) { int i,j; j=-1
相关文章
相关标签/搜索