These are my solutions for Advent of Code 2022. I was trying to compete for top 100 solves this year, so the code is not necessarily well written, but it works. The solution to run is chosen by changing the class executed on Program.cs:11.
Each name is composed of the word day two numbers separated by an underscore (_). The first number is the day, the second number is the part.
Optionally, a name has a second underscore with a comment after it. These represent alternate solutions to the same problem that I wrote after initially completing the problem.
For example: Day05_2.cs represents my initial solution to Day 5 Part 2.
- Clone the repo to your machine.
- Open the .sln file in your preferred C# IDE.
- Change the class executed on Program.cs:11 to the solution you would like to run.
- Build the project.
- Paste your input into Advent2022/bin/(...)/input.txt
- Run Advent2022.exe