Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other.
This repository contains solutions for puzzles and cli tool to run solutions to get answers for input on site.
| Day | Part 1 | Part 2 | 
|---|---|---|
| Day 1 | ⭐ | ⭐ | 
| Day | Part 1 | Part 2 | 
|---|---|---|
| Day 1 | ⭐ | ⭐ | 
| Day | Part 1 | Part 2 | 
|---|---|---|
| Day 1 | ⭐ | ⭐ | 
| Day | Part 1 | Part 2 | 
|---|---|---|
| Day 1 | ⭐ | ⭐ | 
| Day 2 | ⭐ | ⭐ | 
| Day 3 | ⭐ | ⭐ | 
| Day 4 | ⭐ | ⭐ | 
| Day 5 | ⭐ | ⭐ | 
| Day 6 | ⭐ | ⭐ | 
| Day 7 | ⭐ | ⭐ | 
| Day | Part 1 | Part 2 | 
|---|---|---|
| Day 1 | ⭐ | ⭐ | 
| Day 2 | ⭐ | ⭐ | 
| Day | Part 1 | Part 2 | 
|---|---|---|
| Day 1 | ⭐ | ⭐ | 
| Day 2 | ⭐ | ⭐ | 
| Day 3 | ⭐ | ⭐ | 
| Day 4 | ⭐ | ⭐ | 
| Day | Part 1 | Part 2 | 
|---|---|---|
| Day 1 | ⭐ | ⭐ | 
| Day 2 | ⭐ | ⭐ | 
| Day | Part 1 | Part 2 | 
|---|---|---|
| Day 1 | ⭐ | ⭐ | 
| Day 2 | ⭐ | ⭐ | 
| Day | Part 1 | Part 2 | 
|---|---|---|
| Day 1 | ⭐ | ⭐ | 
| Day 2 | ⭐ | ⭐ | 
| Day | Part 1 | Part 2 | 
|---|---|---|
| Day 1 | ⭐ | ⭐ | 
| Day 2 | ⭐ | ⭐ | 
| Day 3 | ⭐ | ⭐ | 
- 
Your https://adventofcode.com session token is required for downloading and caching the inputs. 
- 
Set your Advent of Code session token in the environment variable AOC_SESSION, or pass explicitly via-sessionflag duringaoc-cliexecution
- 
Run aoc-cli runand follow instructions
Cli support optional metrics, to enable them you can use following flags:
    --elapsed, -e  Enables elapsed time metric
    --bench, -b    Enables benchmark metric
All available flags, commands and usage:
USAGE:
   aoc-cli [global options] command [command options] [arguments...]
   
COMMANDS:
   run      Runs advent-of-code application
   help, h  Shows a list of commands or help for one command
GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)
   
NAME:
   aoc-cli run - Runs advent-of-code application
USAGE:
   aoc-cli run [command options] [arguments...]
OPTIONS:
   --elapsed, -e              Enables elapsed time metric (default: false)
   --bench, -b                Enables benchmark metric (default: false)
   --session value, -s value  AOC auth session to get inputs (default: "<will get value from env ${AOC_SESSION} by default>") [$AOC_SESSION]
   --help, -h     show help (default: false)
