diff --git a/graph/mcmf.cc b/graph/mcmf.cc index cbb0221..2c28957 100644 --- a/graph/mcmf.cc +++ b/graph/mcmf.cc @@ -28,7 +28,7 @@ struct mcmf { while (f) { f = 0; for (int i = 0; i < n; ++i) { - for (auto&& [to, cap, flow, cost, rev] : edges[i]) { + for (auto&& [to, cap, flow, cost, rev, mark] : edges[i]) { if (cap > flow and dis[to] > dis[i] + cost) { dis[to] = dis[i] + cost; f = 1;