小a的迴文串 -- (最長迴文字串模板)

連接:https://ac.nowcoder.com/acm/contest/549/Bc++ #include<bits/stdc++.h> using namespace std; const int maxn = 1e6 + 100; int cnt, len, ans = 0; char s[maxn], ss[maxn * 2]; int p[maxn * 2]; void in
相關文章
相關標籤/搜索