2022年4月5日
摘要: $O(n)$ 时间求出字符串的最长回文子串。 数组 #include <bits/stdc++.h> using namespace std; const int N = 2e7; char s[N << 1], ss[N]; int n, ans, p[N << 1]; void manacher 阅读全文
posted @ 2022-04-05 21:20 Hamine 阅读(28) 评论(0) 推荐(0) 编辑