北邮邀请赛J区间回文串
摘要:
1 //O(n)回文串 2 # include <stdio.h> 3 # include <algorithm> 4 # include <iostream> 5 # include <string> 6 # include <cmath> 7 8 # define For(i,a) for(int (i)=0;i<(a);++(i)) 9 using namespace std; 10 const int N=200100; 11 12 int lg[N<<1]; 13 char s[N],str[N<&l 阅读全文