JannikNickel / AdventOfCode

Solutions for Advent of Code Puzzles in C#, C++, C, Rust and Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code

Solutions for Advent of Code.

Progress

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

About

Solutions for Advent of Code Puzzles in C#, C++, C, Rust and Python


Languages

Language:C 27.2%Language:C# 22.4%Language:Rust 19.6%Language:C++ 17.9%Language:Python 13.0%