My solutions for the AoC 2025 challenges, written in Python.
🎄 🎄 🎄
| Day | 🧩 Puzzle | 🐍 Solution | ⏳ Duration A | ⏳ Duration B |
|---|---|---|---|---|
| 1 | Secret Entrance | day1.py | - | - |
| 2 | Gift Shop | day2.py | 795 ms | 5.181 ms |
| 3 | Lobby | day3.py | - | - |
| 4 | Printing Department | day4.py | - | 290 ms |
| 5 | Cafeteria | day5.py | - | - |
| 6 | Trash Compactor | day6.py | - | - |
| 7 | Laboratories | day7.py | - | - |
| 8 | Playground | day8.py | 1.806 ms | 3.844 ms |
Timings are measured on my computer in a non-scientific way. Empty durations indicate a runtime of less than ten milliseconds. Bold durations indicate a runtime of more than one minute.
Package requirements are specified in the pyproject.toml file.
uv syncYou should install the pre-commit hooks to format the code before committing.
pip install pre-commit
pre-commit install