Solutions for Advent of Code.
Year | Stars | Language |
---|---|---|
2023 | 50 ⭐ | Python |
2022 | 50 ⭐ | C# |
2021 | 50 ⭐ | Rust |
2020 | 50 ⭐ | C++ |
2019 | 50 ⭐ | C |
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.