Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 784 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 784 Bytes

Advent of Code 2021

Puzzle solutions written in Python. Solutions are presented as they were when the answers were submitted, with minor formatting applied.

My goal was to solve the problems as fast as possible, not to write the most efficient solution.

Santa Claus

Solve puzzles

Create a .env file with the content SESSION_COOKIE=<your_aoc_session_cookie>. Your session cookie can be found in your browser.

Run ./src/aoc.sh <day> to create a new puzzle folder with a main.py file containing starter code and data.txt containing the input of the day.

Run solutions

Install dependencies with pip3 install -r "requirements.txt".

Run the solutions with python3 src/<day>/main.py.