Day 23, Part 1

This commit is contained in:
Daniele Fucini
2024-12-23 15:56:30 +01:00
parent 93ee53f0fe
commit 588b1e212f
5 changed files with 45 additions and 2 deletions

View File

@@ -50,5 +50,4 @@ day16_1 = do
(mazeMap, nRow, nCol) <- parseInput
let (mazeGraph, start, end) = getMazeGraph mazeMap nRow nCol
shortestPaths = [findShortestPath mazeGraph start e | e <- end]
-- putStrLn $ "Day 16, Puzzle 1 solution: " ++ show (findShortestPath mazeGraph start end)
putStrLn $ "Day 16, Puzzle 1 solution: " ++ show (minimum shortestPaths)