kirk

........

2011年7月23日

北邮邀请赛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 阅读全文

posted @ 2011-07-23 05:51 kirk 阅读(158) 评论(0) 推荐(0) 编辑


kirk