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

View File

@@ -3,12 +3,12 @@ package main
import (
"log"
"sunshine.industries/aoc2023/day16"
"sunshine.industries/aoc2023/day17"
)
func main() {
log.Print("> starting run:")
result := day16.Run()
log.Printf("\n\nday16 result: %d\n****\n", result)
result := day17.Run()
log.Printf("\n\nday17 result: %d\n****\n", result)
}