Advent of Code 2023 solved in Rust
Make sure you have Rust and Git installed, then open a terminal and run:
git clone https://github.com/countMonteCristo/aoc2023
cd aoc2023
cargo build --release
Run first N=10
days:
cargo run --release run 10
Run all days:
cargo run --release check
Run specified days:
cargo run --release check 2 3 5 7 11
Run single day with custom file as an input:
cargo run --release test 13 path/to/custom/file.txt
Solutions for some parts (day 23 part 2 and day 25 part 1) are extremely unefficient, but actually return correct result. Uncomment solution code if you want to get results for certain inputs.