Skip to content

asasine/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

71 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

advent-of-code

Implementations to solve Advent of Code puzzles https://adventofcode.com/

Usage

Prerequisites

  1. cargo install aoc-cli

Yearly

  1. Get the session token from the browser's cookies and put it into the ~/.config/adventofcode.session file.
  2. mkdir -vp ./solutions/data/{real,examples}/$(date +%Y)

Daily

  1. aoc d -o -I -i ./solutions/data/real/$(date +%Y)/$(date +%d).txt
  2. cargo run daily
  3. cargo run -q