day17, dijkstra doesn't work

right? just because if found a shorter path, doesn't mean i don't need
to check other directions.
i have, because maybe they are not blocked and will provide better
solution.
so, yikes
This commit is contained in:
efim
2023-12-17 08:51:51 +00:00
parent ed4abd2d7e
commit 08c20ea6e0
3 changed files with 271 additions and 3 deletions

13
day17/example Normal file
View File

@@ -0,0 +1,13 @@
2413432311323
3215453535623
3255245654254
3446585845452
4546657867536
1438598798454
4457876987766
3637877979653
4654967986887
4564679986453
1224686865563
2546548887735
4322674655533