From 4905811a7c635f28827984a999aedacd910f4dc3 Mon Sep 17 00:00:00 2001 From: mzuenni Date: Tue, 29 Aug 2023 00:09:28 +0200 Subject: consistency --- graph/stoerWagner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graph/stoerWagner.cpp') diff --git a/graph/stoerWagner.cpp b/graph/stoerWagner.cpp index 899cb3b..655f5aa 100644 --- a/graph/stoerWagner.cpp +++ b/graph/stoerWagner.cpp @@ -3,7 +3,7 @@ struct edge { ll cap; }; -vector> adjlist, tmp; +vector> adj, tmp; vector erased; void merge(int a, int b) { @@ -18,7 +18,7 @@ void merge(int a, int b) { ll stoer_wagner() { ll res = INF; - tmp = adjlist; + tmp = adj; erased.assign(sz(tmp), false); for (int i = 1; i < sz(tmp); i++) { int s = 0; -- cgit v1.2.3