My solutions for Advent of Code 2017. Written in Rust 🦀.
- Clone the repository.
- Make sure you have a nightly version of Rust (updated to June 2024).
cargo run --release
for all days,cargo run --release -- N
for a specific day.- Want your own inputs?
- Auto-download: Delete the
inputs
directory, then create asession_key.txt
file containing your AoC website's session cookie value. - Manually: Replace the contents of a
inputs/XX.txt
file with your desired input.
- Auto-download: Delete the
- Benchmarks? 🚤
cargo bench --features "criterion"
- optionally add
-- dayN
at the end, to run a specific day!