My solutions to Advent of Code
SPOILER ALERT: This repository contains contest solutions. The solutions will be uploaded at least 30 minutes after the start of each day's contest.
Day | Level 1 Rank | Level 2 Rank | Note |
---|---|---|---|
01 () | |||
02 () | |||
03 () | |||
04 () | |||
05 () | |||
06 () | |||
07 () | |||
08 () | |||
09 () | |||
10 () | |||
11 () | |||
12 () | |||
13 () | |||
14 () | |||
15 () | |||
16 () | |||
17 () | |||
18 () | |||
19 () | |||
20 () | |||
21 () | |||
22 () | |||
23 () | |||
24 () | |||
25 () |
Leaderboard | Score | Rank |
---|---|---|
Worldwide | ||
PyDis | ||
PyDis Staff |
-
Create a
config.yml
in the root of this repository. Put your AoC token in. You can find the token when you inspect the request cookies on AoC's website when you're logged in. Put it inconfig.yml
as:cookies: session: 'Your session key'
-
Create a virtual environment and install the dependencies in
requirements.txt
-
To download an input, run
python run.py d <day>
-
To print calculated result for part 1/2, run
python run.py p <day> 1|2
-
To submit calculated result for part 1/2, run
python run.py s <day> 1|2