diff options
| -rw-r--r-- | graph/maxCarBiMatch.cpp | 2 | ||||
| -rw-r--r-- | tcr.pdf | bin | 265592 -> 265614 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/graph/maxCarBiMatch.cpp b/graph/maxCarBiMatch.cpp index a6a242f..0bdfd80 100644 --- a/graph/maxCarBiMatch.cpp +++ b/graph/maxCarBiMatch.cpp @@ -13,7 +13,7 @@ bool dfs(int v) { } int kuhn(int n) { // n = #Knoten links. - pairs.assign(adjlist.size(), -1); + pairs.assign(NUM_VERTICES, -1); int ans = 0; // Greedy Matching. Optionale Beschleunigung. for (int i = 0; i < n; i++) for (auto w : adjlist[i]) Binary files differ |
