/aoc-2024

My solutions to the Advent of Code 2024 puzzles

Primary LanguagePythonMIT LicenseMIT

Advent of Code 2024

My Advent of Code 2024 solutions.

Table of Contents

Usage

Getting input

bin/get_input.py script can be used for acquiring the input data for the current day. In order for this to work, you're current AOC SESSION cookie must be found from from COOKIE environment variable.

export COOKIE=<cookie here>
./bin/get_input.py --day <day>

Running solutions

All solutions expect to receive input from stdin.

So to run day 01p1 you need to do the following.

./solutions/01p1.py < <inputfile>