My solutions to AoC 2020
So far, none as it only uses python standard modules. If that changes in the future, either:
pip install -r requirements.txt
make init
Either:
bin/aoc
:
usage: aoc [-h] [-p {1,2}]
[-d {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}]
[inputfile]
Compute AoC 2020 answers
positional arguments:
inputfile if unspecified tries to read from stdin and ifthat
fails, it reads the default input file forthat day
optional arguments:
-h, --help show this help message and exit
-p {1,2}, --part {1,2}
Filter the answer the by the part number
-d {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}, --day {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}
Filter the answer the by the advent day
make run
Either:
tests/test_aoc.py
make test
Day | Part 1 | Part 2 |
---|---|---|
1 | ⭐ | ⭐ |
2 | ⭐ | ⭐ |
3 | ⭐ | ⭐ |
4 | ⭐ | ⭐ |
5 | ⭐ | ⭐ |
6 | ⭐ | ⭐ |
7 | ⭐ | ⭐ |
8 | ⭐ | ⭐ |
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 |