Skip to content

apinkney97/aoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aoc

My solutions to Advent of Code

https://adventofcode.com/

First time setup

Run uv sync to install all dependencies.

Nb. this requires uv itself to be installed first.

Running

On the first run of each day's solution, aoc will pull your user input directly from the Advent of Code website, using a session cookie you specify. The input is cached for use in subsequent runs.

You will be prompted to enter your session cookie if no current cookie is stored, or the currently stored cookie is invalid.

Today's problem

uv run aoc

Note: this only works between the 1st and 25th December.

An arbitrary problem from the most recent AOC

For example, day 6:

uv run aoc 6

An arbitrary problem from a specific year:

For example, 2015 day 21:

uv run -y 2015 21

Extra options

For additional options, see

uv run aoc --help

About

Advent of Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages