Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/JannikNickel/AdventOfCode

Solutions for Advent of Code Puzzles in C#, C++, C, Rust and Python
https://github.com/JannikNickel/AdventOfCode

advent-of-code

Last synced: 6 days ago
JSON representation

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

Lists

README

        

# Advent of Code
Solutions for [Advent of Code](https://adventofcode.com/).

## Progress
| Year | Stars | Language |
|------|-------|----------|
| [2023](/2023) | 50 ⭐ | Python |
| [2022](/2022) | 50 ⭐ | C# |
| [2021](/2021) | 50 ⭐ | Rust |
| [2020](/2020) | 50 ⭐ | C++ |
| [2019](/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.
```bash
python input_dl.py --year {2019..2023} [--day {1..25}] [--update] [--session SESSION]

--year # The year of the input to download.
--day # The day of the input to download. Leave empty to download the whole year
--update # Update/redownload existing input files
--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.