摘要:
KMP #include<bits/stdc++.h> using namespace std; typedef long long ll; const ll N=1e6+10; char s1[N],s2[N]; ll n1,n2,nt[N],f[N]; int main(){ cin >> (s 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; typedef long long ll; const ll N=1e5+10; vector<ll> G[N],ans; ll n,m,du[N],cur[N],s=1; void dfs(ll u){ fo 阅读全文
摘要:
求割点 #include<bits/stdc++.h> using namespace std; typedef long long ll; const ll N=2e4+10; ll n,m,dfn[N],low[N],tot,root; bool cut[N]; vector<ll> G[N]; 阅读全文