Advent of Code solutions.
Compile and run a puzzle like so: make 2016 3p2
, or make 3p2
if already in
the folder of a specific year. The first digit represents day of the puzzle and
second digit is which part to run. Each make target handles piping of the
correct input to its resulting executable.
Day 5 and 14 uses md5 from libssl.
Day 4 uses md5 from libssl.
Install libssl and pkg-config with Homebrew:
brew install openssl pkg-config