summaryrefslogtreecommitdiff
path: root/test/graph/stoerWagner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/graph/stoerWagner.cpp')
-rw-r--r--test/graph/stoerWagner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/graph/stoerWagner.cpp b/test/graph/stoerWagner.cpp
index cc01a7d..3b67aac 100644
--- a/test/graph/stoerWagner.cpp
+++ b/test/graph/stoerWagner.cpp
@@ -13,7 +13,7 @@ namespace pushRelabel {
#include <graph/pushRelabel.cpp>
ll minCut() {
ll res = INF;
- for (int i = 0; i < sz(adj); i++) {
+ for (int i = 0; i < ssize(adj); i++) {
for (int j = 0; j < i; j++) {
if (i == j) continue;
res = min(res, maxFlow(i, j));
@@ -48,7 +48,7 @@ void stress_test() {
ll got = stoerWagner::stoer_wagner();
ll expected = pushRelabel::minCut();
-
+
if (got != expected) cerr << "got: " << got << ", expected: " << expected << FAIL;
queries += n;
}