Skip to content

m-rutter/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

advent-of-code 🎄

Advent of Code (AoC) solutions for 2017, 2018, 2019, 2020, 2021, 2022 and a partial intcode implementation. All written in Rust as a learning project. Does not have full coverage for all days as I find they end up becoming too time consuming eventually.

CLI Usage

aoc-cli:

Advent of Code Cli 0.1.0
Solves Advent of Code problems

USAGE:
    aoc-cli [OPTIONS] --day <day> --year <year>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -d, --day <day>      Set the day to solve
    -p, --path <path>    Set the input file as problem input
    -y, --year <year>    Set the year

Examples

Reading input from a file

aoc-cli --day 1 --year 2017 --path ./input

Using stdin

cat ./input | aoc-cli --day 1 --year 2017

Solution Coverage

Day 2017 2018 2019 2020 2021 2022 2023
1 ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐
2 ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐
3 ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐
4 ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐
5 ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐
6 ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐
7 ⭐ ⭐
8 ⭐ ⭐
9 ⭐ ⭐
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25