We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b23f24c commit 17017e7Copy full SHA for 17017e7
2024/src/aoc/days/day16.py
@@ -32,7 +32,7 @@ def enqueue(dist, x, y, dx, dy, cx, cy, cdx, cdy):
32
heapq.heappush(todo, (dist, x, y, dx, dy))
33
elif best[x, y, dx, dy][0] == dist:
34
best[x, y, dx, dy][1].append((cx, cy, cdx, cdy))
35
-
+
36
shortest_dist = None
37
finishes = set()
38
0 commit comments