摘要:
#include<bits/stdc++.h>using namespace std;#define N 500010*2struct edge{int v,next;}e[N];struct qedge{int u,v,next,lca,num;}e1[N];int n,m,t,head[N],t 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; int f[1000010],n,m; char p[1000010],t[1000010]; void getfail(){ f[0]=f[1]=0; for(int i=1;i<m;i++){ int j= 阅读全文