Here are my solutions to advent of code.
To run any solution
- Make sure rust is installed.
- cd into the folder for the year ex:
cd 2022
- Place input as
Input.txt
in the folder for the day.- You can also create an environment variable called
AOC_SESSION
with the session token and the input will be automatically downloaded
- You can also create an environment variable called
- run
cargo run -p day##
- ex cargo run -p day1
Create a new day solution with cargo generate --path ../template