#include<bits/stdc++.h>
using namespace std;
const int maxn=2e4+7;
vector<int> g[maxn];
vector<int> newp[maxn];
int dfn[maxn],low[maxn],sccno[maxn];
int idx=0;
bool visit[maxn];
stack<in
tarjan算法求连通分量+缩点后重新建图
最新推荐文章于 2018-11-06 11:58:15 发布