板子|manacher算法

#include <cstdio> #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int maxn=11000005; char s[maxn*3],tmp[maxn*3]; int p[maxn*3]; int create(){//插入特殊字符,将新的字符串tmp长度
相关文章
相关标签/搜索