CodeForces - 17E Palisection【Manacher】【前缀和】【差分】
题目链接:https://codeforces.com/contest/17/problem/E
#include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
static const int MAXN=1e6+10;
char b[MAXN],n[MAXN];
int p;
int power(int a,int b,int p)
{
int res=1%p;
原创
2020-10-06 21:02:10 ·
140 阅读 ·
0 评论