Awesome
Advent of Code 2024 :christmas_tree:
Python solutions for Advent of Code 2024.
Commands
Setup and build everything, using uv:
make build
Set the following env variable with yout session cookie to allow input downloads:
AOC_SESSION_ID=...
Run a solution with:
python src/aoc/solutions/<DAY>.py
Alternatevely you can use one of those two rules:
make run # run latest file in solutions
make runall # run all solutions
Solutions
Here is the complete list of solutions:
Day | Link | Total Lines | Effective Lines | Runtime | Last Updated |
---|---|---|---|---|---|
01 | Link | 39 | 26 | 0m0.074s | Wed, Dec 11, 2024 |
02 | Link | 44 | 30 | 0m0.073s | Wed, Dec 11, 2024 |
03 | Link | 49 | 33 | 0m0.069s | Wed, Dec 11, 2024 |
04 | Link | 66 | 42 | 0m0.099s | Wed, Dec 11, 2024 |
05 | Link | 62 | 43 | 0m0.069s | Wed, Dec 11, 2024 |
06 | Link | 101 | 65 | 0m2.792s | Wed, Dec 11, 2024 |
07 | Link | 46 | 30 | 0m0.644s | Wed, Dec 11, 2024 |
08 | Link | 67 | 45 | 0m0.333s | Wed, Dec 11, 2024 |
09 | Link | 98 | 66 | 0m2.131s | Wed, Dec 11, 2024 |
10 | Link | 55 | 39 | 0m0.076s | Wed, Dec 11, 2024 |
11 | Link | 29 | 20 | 0m0.118s | Wed, Dec 11, 2024 |
12 (Incomplete part 2) | Link | 71 | 49 | 0m0.068s | Fri, Dec 13, 2024 |
13 | Link | 56 | 35 | 0m0.093s | Fri, Dec 13, 2024 |