diff options
| author | mzuenni <michi.zuendorf@gmail.com> | 2023-08-29 00:09:28 +0200 |
|---|---|---|
| committer | mzuenni <michi.zuendorf@gmail.com> | 2023-08-29 00:09:28 +0200 |
| commit | 4905811a7c635f28827984a999aedacd910f4dc3 (patch) | |
| tree | d21228d541bb14dc2dc29ffdff2331dfb5ba6b1e /graph/stoerWagner.cpp | |
| parent | f209418070050d4310a19191e3cd771760e5b521 (diff) | |
consistency
Diffstat (limited to 'graph/stoerWagner.cpp')
| -rw-r--r-- | graph/stoerWagner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<vector<edge>> adjlist, tmp; +vector<vector<edge>> adj, tmp; vector<bool> 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; |
