1
0
Fork 0

Update graph/tarjan.cc

This commit is contained in:
subcrip 2024-04-16 18:19:22 +08:00
parent f5266092a1
commit 760acb15f7
1 changed files with 1 additions and 0 deletions

View File

@ -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);