标签:
asdjflkajdf
adlkgjlkdjflkjldkf
Blockquote
enter code here
enter code here
#include <iostream>
#
Blockquote
include
using namespace std;
int n, p[MAXN], la[MAXN], ans;
char s[MAXN];
bool pd(int w, int x){if(p[w - 2 * x] < x || p[w + 2 * x] < x)return 0; return 1;}
int main()
{
scanf(“%d”, &n);
scanf(“%s”, s + 1);
for(int i = n; i; i –)s[i * 2] = s[i], s[i * 2 - 1] = ‘*’;
s[0] = ‘#’;
#include <iostream>
#incldue <cstdio>
using namespace std;
int main(){
for(int i = 1; i <= n; i ++)
}
Written with StackEdit.
标签:
原文地址:http://www.cnblogs.com/lixintong911/p/4204615.html