mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 21:00:31 +01:00
Implement 2025 day 5 in C
This commit is contained in:
12
2025/day05/README.md
Normal file
12
2025/day05/README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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.
|
||||
|
||||
```console
|
||||
$ make
|
||||
cc -Wall -Wextra -O2 -g solve.c -o solve
|
||||
$ ./solve sample.txt
|
||||
Part1: 3
|
||||
Part2: 14
|
||||
```
|
||||
Reference in New Issue
Block a user