| 9 | int n; vi head; vector<edge> e, e_store; |
| 10 | flow_network(int _n) : n(_n), head(n,-1) { } |
| 11 | void reset() { e = e_store; } |
| 12 | void add_edge(int u, int v, int cost, int uv, int vu=0) { |
| 13 | e.push_back(edge(v, uv, cost, head[u])); |
| 14 | head[u] = (int)size(e)-1; |
nothing calls this directly
no outgoing calls
no test coverage detected