My solutions to the 2019, 2020 and 2021 Advent of Code, in C and Bash.
My own rules :
- C : Only standard libraries (for example, no external sort). However, I may use my own includes and libraries.
- bash: Pure bash only: No external commands allowed (grep, sed, awk, etc...).
Advent of Code 2019
C
: Days 1-9
Advent of Code 2020
C
: Days 1-19, 22-25Bash
: All (days 1-25)Cobol
: Day 1 (!!)
Advent of Code 2021
C
: All (days 1-25)
Advent of Code 2022
Bash
: All (days 1-12)C
: All (days 1-14)
Description
Advent of Code 2019, 2020, 2021, and 2022 in both bash and C. Maybe experiments with different languages too.
Languages
C
72.3%
Makefile
13.4%
Shell
13.3%
COBOL
0.9%
C++
0.1%