POJ-3974 , HDU-3294, Hdu-3613(manacher)
题目链接: Palindrome
思路
简单的manacher模板,不多说.
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
char s[2010001];
int P[2010001];
int id,miner;
int manacher(
原创
2019-03-09 15:49:36 ·
105 阅读 ·
0 评论