diff options
| author | Yidi <noob999noob999@gmail.com> | 2024-03-22 12:19:29 +0100 |
|---|---|---|
| committer | Yidi <noob999noob999@gmail.com> | 2024-03-22 12:19:29 +0100 |
| commit | dbcd02da96922c2a667ec16e390ef8263580a66c (patch) | |
| tree | c8a8793aa20db6e775392abbf6b774ca96017293 | |
| parent | 188120837921f37ffc5c63906070cfe5f1ef601a (diff) | |
remove newlines
| -rw-r--r-- | graph/minCostMaxFlow.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/graph/minCostMaxFlow.cpp b/graph/minCostMaxFlow.cpp index 3526b17..14a222c 100644 --- a/graph/minCostMaxFlow.cpp +++ b/graph/minCostMaxFlow.cpp @@ -8,7 +8,6 @@ struct MinCostFlow { vector<vector<int>> adj; vector<int> pref, con; vector<ll> dist; - const int s, t; ll maxflow, mincost; @@ -27,12 +26,10 @@ struct MinCostFlow { dist.assign(sz(adj), INF); vector<bool> inqueue(sz(adj)); queue<int> queue; - dist[s] = 0; queue.push(s); pref[s] = s; inqueue[s] = true; - while (!queue.empty()) { int cur = queue.front(); queue.pop(); inqueue[cur] = false; |
