Skip to content

prikhi/advent-of-code-2022

Repository files navigation

Advent of Code 2022

To run a solution do something like:

$ make run day=01
runghc --ghc-arg=-Wall Day01.hs < inputs/day01.txt
Part 1: 1529
Part 2: 1567

Compile instead for speed gains:

make compile day=05

Watch files, recompile, & run:

make watch day=01

Make solution & input files for new day:

make new-day day=09

License

GPL-3.0+