Advent Of Code 2024, join the fun on the Advent of code website.
The solutions of 2024 will be written in Rust. I will also be trying out to use proc_macro's to load puzzle data this might be a bit rough since it's the first time trying to implement these.
To automatically download puzzle inputs, set the AOC_SESSION
environment variable, or pass --aoc-session SESSIONID to the run commands.
All solutions:
cargo run --release
A single day:
cargo run --release -- --day 1
Run benchmarks:
cargo bench --bench benchmarks
cargo bench --bench benchmarks day1/part1
All solutions can be found in the aoc-solutions-2024/src/solutions folder.
- My Advent of Code 2023 solutions
- My Advent of Code 2022 solutions
- My Advent of Code 2021 solutions
- My Advent of Code 2020 solutions
- My Advent of Code 2019 solutions
- My Advent of Code 2018 solutions
- My Advent of Code 2017 solutions
- My Advent of Code 2016 solutions
This code follows the automation guideline.
All inputs and requests are cached and tagged.