summaryrefslogtreecommitdiff
path: root/graph/stoerWagner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graph/stoerWagner.cpp')
-rw-r--r--graph/stoerWagner.cpp4
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;