/advent_of_code_2017

My solutions to Advent of Code 2017. Written in Rust.

Primary LanguageRust

Advent of Code 2017

Rust

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 a session_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.
  • Benchmarks? 🚤
    • cargo bench --features "criterion"
    • optionally add -- dayN at the end, to run a specific day!