Solutions to Advent of Code 2022
Make sure you have Rust installed.
Clone the repo and build the project:
git clone https://github.com/etrexel/advent-of-code-2022.git
cd advent-of-code-2022
make build
You should now be able to run the binary:
./target/debug/aoc --help
Solver for Advent of Code 2022
Usage: aoc [OPTIONS]
Options:
-d, --day <DAY> Which day's puzzle to solve [default: 1]
-p, --part <PART> Which part of the day's puzzle to solve [default: 1]
-f, --file <FILE> Path to input file
-h, --help Print help information
-V, --version Print version information
Sample inputs for each day are organized under the input
directory. These files will automatically be used if you
don't provide an input file.