P5410 【模板】扩展 KMP(Z 函数)

思路: 扩展kmp模板题,代码来自XHTios #include <cstdio> #include <cstring> #include <iostream> #include <cstdlib> #include <cmath> #include <algorithm> #include <vector> using namespace std; typedef long long ll; t
相关文章
相关标签/搜索