cf 1220E强连通分量缩点
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N=2e5+10;
int dfn[N],low[N],cnt,bcc[N],index,bccnum;
int sz[N];
ll val[N],dp[N];
int top=0;
int sta[N];
int n,m;
vect...
原创
2019-09-28 17:51:03 ·
124 阅读 ·
0 评论