.
__/ \__
\ /
/.'o'.\
.o.'.
.'.'o'.
o'.o.'.o.
.'.o.'.'.o.
.o.'.o.'.o.'.
[_____]
\___/
Advent of Code 2022
Advent of code solutions for 2022 in C
Results
2022 Results
Day | Part 1 | Part 2 |
---|---|---|
Day 1 | ||
Day 2 | ||
Day 3 | ||
Day 4 | ||
Day 5 | ||
Day 6 | ||
Day 7 | ||
Day 8 |
The solutions are split by day in folders.
Each contains a sample.txt for the sample input and an input.txt for the full input.
To compile on Linux e.g. day 3 run:
make day=3
To run e.g. day 2 part 1 with the input do:
make exec day=2 part=1
To run e.g. day 5 part 2 with the sample do:
make sample day=5 part=2
To clean the output run
make clean