blob: 1a427bf3a62f57dc2fcec8d8a3ce1b5ff7530d2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Advent of Code 2023
This is my first year trying the AoC. I decided to use C because it is the
language I know the best and I am familiar with the standard library.
I did not write many comments, but if you are curious about my solutions
send me an email and I'll be happy to explain!
## Instructions
Compile with `-std=c99`. Day 6 requires also the `-lm` option to link with the
math library, that is
```
$ cc -std=c99 -lm 06/6a.c
```
My solutions read from stdin, so run the e.g. with
```
$ ./a.out <in.txt
```
|