Advent of Code 2022: Rusty edition
The repository utilizes cargo workspaces in order to reuse certain functionality across challenges.
You can find all of the challenges under the challenges folder.
Miscellanious crates can be found under the crates folder.
You can execute a specific package and binary with cargo easily with:
cargo run -p day2 --bin part1
Test input is typically saved in a file in that challenge folder (ie. ./challenges/day2/input.txt
).
So the overall execution of the test input for day 2 part 1 would be done with:
cat ./challenges/day2/input.txt | cargo run -p day2 --bin part1
I'll try to keep this as updated, but we'll see.
Day | Part 1 | Part2 |
---|---|---|
1 | ✔️ | |
2 | ✔️ | |
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 | ||
25 |