asdjflkajdf
adlkgjlkdjflkjldkf
Blockquote
Heading
- -
enter code here
enter code here
#include <iostream>
#
Blockquote
include
include
include
include
define MAXN 1000005
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.
时间: 2024-10-24 17:16:43