My personal solutions to the 2024 advent of code coding challenges, in python
Assumes .txt inputs.
Not all files are solutions, this is mostly a storage to all my attempts at finding the sollution!
Will organize one day (maybe)
The file 2024.py is an automation script that uses your session cookie to do the following:
- Creates a folder for the current day (or HARDCODED_DAY in file)
- Obtain input files automatically into a input.txt file
- Create a main.py that uses the example.py as a baseline and edits the necessary data for current day and year.
In the file you have to change the following:
- Add your session cookie (use inspect element on a browser and check storage)
- Add the HARDCODED_DAY, if this variable is set to anything, that day will be used, otherwise the current day of the month is used.