MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / arborescence

Method arborescence

code/graph/arborescence.cpp:5–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3 int n; union_find uf;
4 vector<vector<pair<ii,int> > > adj;
5 arborescence(int _n) : n(_n), uf(n), adj(n) { }
6 void add_edge(int a, int b, int c) {
7 adj[b].push_back(make_pair(ii(a,b),c)); }
8 vii find_min(int r) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected