From 12afe719ce268bb10aa93a910079a44eb08999b8 Mon Sep 17 00:00:00 2001 From: MZuenni Date: Wed, 1 Mar 2023 11:36:26 +0100 Subject: removed trailing whitespaces and use more structured bindings --- graph/blossom.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'graph/blossom.cpp') diff --git a/graph/blossom.cpp b/graph/blossom.cpp index 72531c6..13a3246 100644 --- a/graph/blossom.cpp +++ b/graph/blossom.cpp @@ -5,7 +5,7 @@ struct GM { vector> label; int head, tail; - GM(int n) : adjlist(n), pairs(n + 1, n), first(n + 1, n), + GM(int n) : adjlist(n), pairs(n + 1, n), first(n + 1, n), que(n), label(n + 1, {-1, -1}) {} void rematch(int v, int w) { @@ -15,8 +15,7 @@ struct GM { pairs[t] = label[v].first; rematch(pairs[t], t); } else { - int x = label[v].first; - int y = label[v].second; + auto [x, y] = label[v]; rematch(x, y); rematch(y, x); }} -- cgit v1.2.3