japiirainen / aoc-2023

Solutions for Advent of Code 2023

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2023

My Advent of Code 2023 solutions.

Table of Contents

Usage

Getting input

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>
./get_input.py

Running solutions

All solutions expect to receive input from stdin.

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

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

About

Solutions for Advent of Code 2023

License:MIT License


Languages

Language:Python 97.4%Language:Nix 2.6%