aoc

My solutions for the Advent of Code
git clone https://git.tronto.net/aoc
Download | Log | Files | Refs | README

README.md (522B)


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