cargo test
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!
To enable the automatic downloading of your input files, set the env var AOC_SESSION to the value of your session
cookie.