From dbcd02da96922c2a667ec16e390ef8263580a66c Mon Sep 17 00:00:00 2001 From: Yidi Date: Fri, 22 Mar 2024 12:19:29 +0100 Subject: remove newlines --- graph/minCostMaxFlow.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'graph/minCostMaxFlow.cpp') 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> adj; vector pref, con; vector dist; - const int s, t; ll maxflow, mincost; @@ -27,12 +26,10 @@ struct MinCostFlow { dist.assign(sz(adj), INF); vector inqueue(sz(adj)); queue 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; -- cgit v1.2.3