From ee4a6e4a85be1811fedad0c188aad00ec322e5d6 Mon Sep 17 00:00:00 2001 From: mzuenni Date: Fri, 14 Aug 2026 23:36:00 +0200 Subject: another comment --- content/graph/stoerWagner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content') diff --git a/content/graph/stoerWagner.cpp b/content/graph/stoerWagner.cpp index 97e667a..10f7327 100644 --- a/content/graph/stoerWagner.cpp +++ b/content/graph/stoerWagner.cpp @@ -44,10 +44,10 @@ ll stoer_wagner() { state.push_back({cur, c}); } int t = state.back().second; - state.pop_back(); + state.pop_back(); //cut between comp(t) and everything else if (state.empty()) return 0; //graph is not connected?! - merge(state.back().second, t); res = min(res, state.back().first); + merge(state.back().second, t); } return res; } -- cgit v1.2.3