Update graph/tarjan.cc
This commit is contained in:
parent
f5266092a1
commit
760acb15f7
|
@ -41,6 +41,7 @@ namespace tarjan {
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
vector<pair<size_t, vector<int>>> build_scc_with_size(const vector<vector<int>>& ch) {
|
vector<pair<size_t, vector<int>>> build_scc_with_size(const vector<vector<int>>& ch) {
|
||||||
int n = ch.size();
|
int n = ch.size();
|
||||||
auto br = scc(ch);
|
auto br = scc(ch);
|
||||||
|
|
Loading…
Reference in New Issue