mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 12:50:32 +01:00
Day 05: C
C is weird. It's a very simple language but it's made complicated by the fact that you have to do everything yourself. Relatively straightforward solution.
$ make
cc -Wall -Wextra -O2 -g solve.c -o solve
$ ./solve sample.txt
Part1: 3
Part2: 14