This is my first time participating in Advent of Code and my first look at Rust. All solutions have been tested against the puzzle inputs provided to my account on the Advent of Code website. As per the About page, the puzzle text and inputs are not included in this repository.
You need to have Rust installed on your machine. You can download it from the official website.
The inputs for each day should be stored in an inputs
directory in the root of the project. Each file is named after the day it corresponds to. For example, the input for day 1 is stored in inputs/day1.txt
. The inputs can be retrieved from Advent of Code 2023.
To run the program, you need to pass two arguments: the day and the part of the challenge you want solved.
Usage: cargo run <day> <part>
Example: cargo run 1 1
The example will run the solution for day 1, part 1.
Day | Part 1 | Part 2 |
---|---|---|
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 | ❌ | ❌ |