This commit is contained in:
2023-12-19 13:35:45 +01:00
parent 5d826bffff
commit ec2b691e3b
5 changed files with 147 additions and 0 deletions

12
day19/Main.hs Normal file
View File

@@ -0,0 +1,12 @@
module Main where
import Commons
import qualified Part1
import qualified Part2
main = do (workflows, parts) <- parse
let part1Res = Part1.getAcceptedSum workflows parts
print $ sum part1Res
let part2Res = Part2.getNCombinations workflows
print part2Res