π Advent of Code 2022 in Rust π¦
My solutions to Advent of Code 2022. Each year I like to try in a language I'm interested in or may be using soon.
Puzzle | Code | Part 1 | Part 2 |
---|---|---|---|
Calorie Counting | Day 1 | β | β |
Rock Paper Scissors | Day 2 | β | β |
Rucksack Reorganization | Day 3 | β | β |
Camp Cleanup | Day 4 | β | β |
Supply Stacks | Day 5 | β | β |
Tuning Trouble | Day 6 | β | β |
No Space Left On Device | Day 7 | β | β |
Treetop Tree House | Day 8 | β | β |
Rope Bridge | Day 9 | β | β |
Cathode-Ray Tube | Day 10 | β | β |
Monkey in the Middle | Day 11 | β | β |
Hill Climbing Algorithm | Day 12 | β | β |
Each day is its own binary in ./src/bin
(format 01.rs). The corresponding
input file should be placed in ./src/inputs
(format 01.txt).
# The days can be run independently...
cargo run --bin 01
# or all at once
cargo run