CodeForces - 25E Test【KMP】
题目链接:https://codeforces.com/contest/25/problem/E
#include <iostream>
#include <cstring>
#include <algorithm>
using namespace std;
static const int MAXN=3e5+10;
char s[3][MAXN];
int ans,l[3],seq[3],nxt[MAXN];
void get_next(int k)
{
for
原创
2020-11-07 18:13:18 ·
196 阅读 ·
0 评论