8000 Fixes #446 · cp-algorithms/cp-algorithms@037a5a4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 037a5a4

Browse files
committed
Fixes #446
1 parent 0fd4690 commit 037a5a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game_theory/games_on_graphs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ vector<int> degree;
6161
void dfs(int v) {
6262
visited[v] = true;
6363
for (int u : adj_rev[v]) {
64-
if (!visited[v]) {
64+
if (!visited[u]) {
6565
if (losing[v])
6666
winning[u] = true;
6767
else if (--degree[u] == 0)

0 commit comments

Comments
 (0)
0