Skip to content

caass/advent-of-code

Repository files navigation

Advent of Code

My solutions to Eric Wastl's Advent of Code :)

Organization

This repo is a Cargo workspace containing multiple crates that comprise my solutions. The workspace is organized as follows:

  • aoc: top-level wrapper crate with a runnable binary.
  • aoc-meta: core types and traits for solving Advent of Code problems, such as Part (Advent of Code problems tend to have two parts).
  • aoc-common: types and traits common between multiple problems, such as TryFromStr (which allows parsing string slices into structs containing references to the original slice).
  • aoc-2015, aoc-2016, ..., aoc-2025: contain implementations of the Advent of Code problems from each respective year.

There is also x.py, a Python CLI for running, testing, and profiling solutions.

Inputs & Descriptions

To comply with Eric's rules about copying, I don't copy any text from the problems in my solutions or provide my puzzle inputs.

Running

To run the aoc binary, run ./x.py run <YEAR> <DAY> <PART>.

Status

The following table (generated by running ./x.py completion) shows my progress.

Year Earned ⭐️ Possible ⭐️ Complete
2015 50 50 100%
2016 43 50 86%
2017 0 50 0%
2018 0 50 0%
2019 0 50 0%
2020 0 50 0%
2021 0 50 0%
2022 0 50 0%
2023 0 50 0%
2024 7 50 14%
2025 4 24 16%

About

My advent of code solutions :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published