Skip to content

Commit 72a9065

Browse files
authored
Update cat-and-mouse-ii.cpp
1 parent 5742947 commit 72a9065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/cat-and-mouse-ii.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ class Solution2 {
163163
vector<vector<vector<int>>> degree(N, vector<vector<int>>(N, vector<int>(2)));
164164
for (int m = 0; m < size(graph); ++m) {
165165
for (int c = 0; c < size(graph); ++c) {
166-
degree[m][c][CAT - 1] = size(graph[c][CAT - 1]);
167166
// degree[m][c][MOUSE - 1] = size(graph[m][MOUSE - 1]);
167+
degree[m][c][CAT - 1] = size(graph[c][CAT - 1]);
168168
}
169169
}
170170

0 commit comments

Comments
 (0)