Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 532 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 532 Bytes

Advent of Code 2022

My solutions to Advent of Code 2022, solved using Rust. The handling of the input files is (somewhat) shamelessly copied from Basile Henry's Advent of Code 2020, while the CLI is built using clap.

To Run

To solve and output the desired day and part:

cargo run <day> <part>

For example, to run day 1, part 1, simply type:

cargo run 1 1

To run both parts of a given day, input "0" for the part:

cargo run <day> 0