DU
DuckThom/advent-of-code-2024
Advent Of Code 2024: Rust Edition
Running validation
cargo test
Running real input
Note: Replace
#with the day number. For examplesrc/inputs/day_3/inputorcargo run -- 3
- Get your input from the website
- Place the input string in
src/inputs/day_#>/input - It's possible to run all days or a single one:
- All days:
cargo run - Single day:
cargo run -- #
- All days:
Tip: Use
cargo run -rorcargo run -r -- #to run an optimized (faster) release build!
Auto downloading input
To enable the automatic downloading of your input files, set the env var AOC_SESSION to the value of your session
cookie.