This commit is contained in:
2023-12-16 14:48:42 +01:00
parent 8e54e42899
commit 322b2b50c0
5 changed files with 112 additions and 16 deletions

12
day16/Main.hs Normal file
View File

@@ -0,0 +1,12 @@
module Main where
import Commons
import qualified Part1
import qualified Part2
main = do cavern <- parse
let part1Res = Part1.getEnergized cavern
print $ length part1Res
let part2Res = Part2.getMaxEnergized cavern
print part2Res