mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 21:00:31 +01:00
13 lines
278 B
Markdown
13 lines
278 B
Markdown
# 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
|
|
```
|