This commit is contained in:
2023-12-30 22:33:03 +01:00
parent c568ce2677
commit 262ad03e46
5 changed files with 121 additions and 0 deletions

12
day24/Main.hs Normal file
View File

@@ -0,0 +1,12 @@
module Main where
import Commons
import qualified Part1
import qualified Part2
main = do hail <- parse
let part1Res = Part1.findIntersections (200000000000000, 400000000000000) hail
print $ length part1Res
let part2Res = Part2.getCoords hail
print $ sum part2Res