hdu 3068 最长回文 (Manacher模版)
#include #include #include # include using namespace std;const int MAX = 100010;int len, p[2*MAX];char str[2*MAX], newstr[2*MAX];const int MAXN=110010;char Ma[MAXN*2];int Mp[MAXN*2];void M
原创
2015-07-19 19:03:49 ·
357 阅读 ·
0 评论