Solving the Advent of code 2024 https://adventofcode.com/2023/
This year in python 🐍
parameters:
- --day: the day of the challenge (default: today)
- --solve: solve the challenge (if not specified, the input is printed)
- --second: solve the second part of the challenge (if not specified, the first part is solved)
python3 main.py --day 1 --solve --secondpython3 main.py --day 2python3 main.py --day 3 --solveCopy the input directly form the website in the file input.txt in the folder of the day.
There is a launch configuration for VSCode in .vscode/launch.json that allows to run the script with the debugger.