Files
adventofcode/2025/day05
2025-12-05 08:52:58 +01:00
..
2025-12-05 08:52:58 +01:00
2025-12-05 08:52:58 +01:00
2025-12-05 08:52:58 +01:00
2025-12-05 08:52:58 +01:00
2025-12-05 08:52:58 +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