This commit is contained in:
2023-12-21 15:40:21 +01:00
parent def588730c
commit 52b197b49e
5 changed files with 133 additions and 0 deletions

12
day21/Main.hs Normal file
View File

@@ -0,0 +1,12 @@
module Main where
import Commons
import qualified Part1
import qualified Part2
main = do garden <- parse
let part1Res = getReachableAfterNMove 64 $ Part1.setStart garden
print $ length part1Res
let part2Res = Part2.getReachableAfterN 26501365 garden
print part2Res