Solutions, scripting, and templates - all in one repo.
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
---|---|---|---|---|
☑ Day 1 | ☑ Day 2 | ☑ Day 3 | ☑ Day 4 | ☑ Day 5 |
☑ Day 6 | ☑ Day 7 | ☑ Day 8 | ☑ Day 9 | ☑ Day 10 |
☑ Day 11 | ☑ Day 12 | ☑ Day 13 | ☑ Day 14 | ☑ Day 15 |
☑ Day 16 | ☑ Day 17 | ☑ Day 18 | ☑ Day 19 | ☑ Day 20 |
☐ Day 21 | ☑ Day 22 | ☑ Day 23 | ☑ Day 24 | ☑ Day 25 |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
---|---|---|---|---|
☑ Day 1 | ☑ Day 2 | ☑ Day 3 | ☑ Day 4 | ☑ Day 5 |
☑ Day 6 | ☑ Day 7 | ☑ Day 8 | ☑ Day 9 | ☑ Day 10 |
☑ Day 11 | ☑ Day 12 | ☑ Day 13 | ☑ Day 14 | ☑ Day 15 |
☑ Day 16 | ☑ Day 17 | ☑ Day 18 | ☑ Day 19 | ☑ Day 20 |
☑ Day 21 | ☑ Day 22 | ☑ Day 23 | ☑ Day 24 | ☑ Day 25 |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
---|---|---|---|---|
☑ Day 1 | ☑ Day 2 | ☑ Day 3 | ☑ Day 4 | ☑ Day 5 |
☑ Day 6 | ☑ Day 7 | ☑ Day 8 | ☑ Day 9 | ☑ Day 10 |
☑ Day 11 | ☑ Day 12 | ☑ Day 13 | ☑ Day 14 | ☑ Day 15 |
☑ Day 16 | ☑ Day 17 | ☑ Day 18 | ☑ Day 19 | ☑ Day 20 |
☑ Day 21 | ☑ Day 22 | ☑ Day 23 | ☑ Day 24 | ☑ Day 25 |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
---|---|---|---|---|
☑ Day 1 | ☑ Day 2 | ☑ Day 3 | ☑ Day 4 | ☑ Day 5 |
☑ Day 6 | ☑ Day 7 | ☑ Day 8 | ☑ Day 9 | ☑ Day 10 |
☑ Day 11 | ☑ Day 12 | ☑ Day 13 | ☑ Day 14 | ☑ Day 15 |
☑ Day 16 | ☑ Day 17 | ☑ Day 18 | ☑ Day 19 | ☑ Day 20 |
☑ Day 21 | ☑ Day 22 | ☑ Day 23 | ☑ Day 24 | ☑ Day 25 |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
---|---|---|---|---|
☑ Day 1 | ☑ Day 2 | ☑ Day 3 | ☑ Day 4 | ☑ Day 5 |
☑ Day 6 | ☑ Day 7 | ☑ Day 8 | ☑ Day 9 | ☑ Day 10 |
☑ Day 11 | ☑ Day 12 | ☑ Day 13 | ☑ Day 14 | ☑ Day 15 |
☑ Day 16 | ☑ Day 17 | ☑ Day 18 | ☑ Day 19 | ☑ Day 20 |
☑ Day 21 | ☑ Day 22 | ☑ Day 23 | ☑ Day 24 | ☑ Day 25 |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
---|---|---|---|---|
☑ Day 1 | ☑ Day 2 | ☑ Day 3 | ☑ Day 4 | ☑ Day 5 |
☑ Day 6 | ☑ Day 7 | ☑ Day 8 | ☑ Day 9 | ☑ Day 10 |
☑ Day 11 | ☑ Day 12 | ☑ Day 13 | ☑ Day 14 | ☑ Day 15 |
☑ Day 16 | ☑ Day 17 | ☑ Day 18 | ☑ Day 19 | ☑ Day 20 |
☑ Day 21 | ☑ Day 22 | ☑ Day 23 | ☑ Day 24 | ☑ Day 25 |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
---|---|---|---|---|
☑ Day 1 | ☑ Day 2 | ☑ Day 3 | ☑ Day 4 | ☑ Day 5 |
☑ Day 6 | ☑ Day 7 | ☑ Day 8 | ☑ Day 9 | ☑ Day 10 |
☑ Day 11 | ☑ Day 12 | ☑ Day 13 | ☑ Day 14 | ☑ Day 15 |
☑ Day 16 | ☑ Day 17 | ☑ Day 18 | ☑ Day 19 | ☑ Day 20 |
☑ Day 21 | ☑ Day 22 | ☑ Day 23 | ☑ Day 24 | ☑ Day 25 |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
---|---|---|---|---|
☑ Day 1 | ☑ Day 2 | ☑ Day 3 | ☑ Day 4 | ☑ Day 5 |
☑ Day 6 | ☑ Day 7 | ☑ Day 8 | ☑ Day 9 | ☑ Day 10 |
☑ Day 11 | ☑ Day 12 | ☑ Day 13 | ☑ Day 14 | ☑ Day 15 |
☑ Day 16 | ☑ Day 17 | ☑ Day 18 | ☑ Day 19 | ☑ Day 20 |
☑ Day 21 | ☑ Day 22 | ☑ Day 23 | ☑ Day 24 | ☑ Day 25 |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
<++++++++> |
---|---|---|---|---|
☑ Day 1 | ☑ Day 2 | ☑ Day 3 | ☑ Day 4 | ☑ Day 5 |
☑ Day 6 | ☑ Day 7 | ☑ Day 8 | ☑ Day 9 | ☑ Day 10 |
☑ Day 11 | ☑ Day 12 | ☑ Day 13 | ☑ Day 14 | ☑ Day 15 |
☑ Day 16 | ☑ Day 17 | ☑ Day 18 | ☑ Day 19 | ☑ Day 20 |
☑ Day 21 | ☑ Day 22 | ☑ Day 23 | ☑ Day 24 | ☑ Day 25 |
Environment variables required:
PROJECT_HOME
: path to project homeADVENT_OF_CODE_SESSION
: session value for downloading input files, this can be found in request header using web browsers.
To run:
PROJECT_HOME=/path/to/project/home
ADVENT_OF_CODE_SESSION=<cookie session>
stack build && stack exec -- run-advent-of-code <year> <day>
Files under data/download/
directory (intentionally ignored from VCS) are downloaded from Advent of Code.
Files with name *.input.txt
or *.expect.txt
under data/testdata/
directory are manually maintained but
some of them are originated from problem descriptions from Advent of Code.