Advent of Code solutions
- Check out and open in VS Code
- Install the recommended Remote Containers extension (inside the container)
- Open the project in the dev container
VS Code: Push <F5>
and answer the prompts (year and day)
Shell: python3 solve.py <day>
- The solution will automatically download the day's input if it doesn't already exist
- If this is a fresh clone, you'll have to create a
session.txt
file with the hex value of the cookie (not includingsession=
) so we can authenticate to the AoC website and download the inputs/challenges/etc.
- Run
solve.py
with a new year/day. If the module doesn't exist, it will be created with a default template
After completing both parts (so you get part two also), run solve.py -c <DAY>
to download the challenge text directly to the top of the year/day module.
View solution execution times here: EXECTIMES.md