summaryrefslogtreecommitdiff
path: root/content/graph/kuhn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'content/graph/kuhn.cpp')
-rw-r--r--content/graph/kuhn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/graph/kuhn.cpp b/content/graph/kuhn.cpp
index e928387..688c846 100644
--- a/content/graph/kuhn.cpp
+++ b/content/graph/kuhn.cpp
@@ -12,7 +12,7 @@ bool dfs(int v) {
}
int kuhn(int l) { // l = #Knoten links.
- pairs.assign(sz(adj), -1);
+ pairs.assign(ssize(adj), -1);
int ans = 0;
// Greedy Matching. Optionale Beschleunigung.
for (int v = 0; v < l; v++) for (int u : adj[v])