Some python-powered solution for Advent of Code.
Still humiliating this dog every year → https://github.com/tatinacher/advent-of-code
Also this project is a place where I store my solutions for other problems, like these:
Click on year to see detailed progress of Advent of Code:
- 2024 IN PROGRESS
- 2023 ⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
- 2022 ⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
- 2021 ⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
- 2020 ⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
- 2019 ⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
- 2018 ⭐⭐⭐⭐
- 2017 ⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
- Python 3.10.6 (upd. 2022-12-01)
- numpy & pytest
make deps
Run following command to automatically create new dir for puzzle (placed inside latest year dir):
make template
Output will be like:
Directory created: 2022/day_08
To get puzzle results for specific day (for example, 2022/day_01
), run command:
python3 2022/day_01/main.py
Output will be like this:
Your result (1): 71506
Your result (2): 209603
And if you need to run tests for same day, run command:
pytest 2022/day_01