Home

Awesome

Advent of Code

Solutions for Advent of Code.

Progress

YearStarsLanguage
202350 ⭐Python
202250 ⭐C#
202150 ⭐Rust
202050 ⭐C++
201950 ⭐C

Input downloading

To download the puzzle inputs of an individual user, the input_dl.py script can be used. It is configured to work for all solutions and years in this repository.

python input_dl.py --year {2019..2023} [--day {1..25}] [--update] [--session SESSION]

--year <YEAR>       # The year of the input to download.
--day <DAY>         # The day of the input to download. Leave empty to download the whole year
--update            # Update/redownload existing input files
--session <SESSION> # Set the session cookie to log into the AOC website to download input

[!NOTE] Advent of Code puzzle inputs differ by user. To download the correct input, the user has to be logged into the AOC website. To do that, the application will use the session cookie from the browser. If the session cookie is missing, the application will prompt the user to input it with instructions on how to retrieve it.