This repository contains my solution to Advent of Code 2021. Note that they are not polished (yet).
In each day:
main.py: the script to solve the problem. It is mostly run aspython3 main.py <input_file>input.txt: the official input for that day.smol.txt: the smaller example input for that day.
Prepare Python virtual environment (Tested on Python3.13.3)
python3.13 -m venv .venv
. .venv/bin/activate
To run all day with sample/smol input:
python3 main.py -s src -input smol
To run all day with full input:
python3 main.py -s src -input full
To run some days but not others:
python3 main.py -s src -input full 1 2 3 4 5 6
The command above will run only Day 1 -> 6.