Skip to content

🎄 Advent of Code solution in Rust

Notifications You must be signed in to change notification settings

leohidalgo/aoc-rust

Repository files navigation

AOC Rust

test

🎄 Advent of Code solution in Rust.

🏃‍♂️ Run

cp DayXX-Input.txt inputs/XXXX/dayxx.txt    // example: day01.txt

cargo run -- --day xx

👷 Tests

cargo test

📉 Performance

cargo bench

🧩 Solutions 2024

Day Puzzle Part 1 Part 2 Solution Time 1
01 Historian Hysteria ⭐️ ⭐️ Day 01 138.91 µs
02 Red-Nosed Reports ⭐️ ⭐️ Day 02 673.60 µs
03 Mull It Over ⭐️ ⭐️ Day 03 379.83 µs

Footnotes

  1. The benchmarks were run on a Macbook Pro M2 with 16 Gb of RAM and macOS 15.3.2.