-
Run the last solution with:
cargo run --release
-
Run all solutions with:
cargo run --release -- -a
-
Run the benchmarks with:
cargo bench --bench aoc-bench
Solutions are in src/day*.rs. See src/example.rs for an example with unit tests.
- Uncomment the Part1 code, implement it and run the test.
- When it works, run the Part1 code with real input using
cargo run --release
- Repeat for Part2
Store sample data in the code directly. It's not available to download. Assign expected values to ANS1 and ANS2.