Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update examples/aoc2023/day23/part2.jou
Browse files Browse the repository at this point in the history
Akuli authored Dec 23, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent e1bb743 commit 0d2a383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/aoc2023/day23/part2.jou
Original file line number Diff line number Diff line change
@@ -173,7 +173,7 @@ def longest_path_dfs(graph: Graph*, avoid: bool*, current: int, depth: int) -> i
return 0

assert not avoid[current]
avoid[current] = True # must reset before returning
avoid[current] = True

best = 0
for next = 0; next < graph->num_nodes; next++:

0 comments on commit 0d2a383

Please sign in to comment.