Day 21
This commit is contained in:
12
day21/Main.hs
Normal file
12
day21/Main.hs
Normal 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
|
||||
Reference in New Issue
Block a user