随笔分类 - 字符串
摘要:Reincarnation Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 4571 Accepted Submission(s): 1868
阅读全文
摘要:Seek the Name, Seek the Fame Seek the Name, Seek the Fame The little cat is so famous, that many couples tramp over hill and dale to Byteland, and ask
阅读全文
摘要:#include using namespace std; const int m = 110010; char s[m*2]; int mp[m*2]; char ma[2*m]; int l,len; void manacher(){ l = 0; ma[l++] = '$'; ma[l++] = '#'; for (int i = 0;i i ? min...
阅读全文
摘要:Input Output Sample Input Sample Output 同类题目:HDU1358 #include <bits/stdc++.h> using namespace std; int n; char a[1000005]; int nxt[1000005]; void getn
阅读全文
摘要:1 #include <bits/stdc++.h> 2 using namespace std; 3 int T,n,m; 4 int a[1000005],b[10005]; 5 int nxt[10005]; 6 7 8 void getnxt(){ 9 int j = 0,k = -1; 1
阅读全文

浙公网安备 33010602011771号