An open API service indexing awesome lists of open source software.

https://github.com/coriolinus/adventofcode-2021

Solutions to Advent of Code, 2021
https://github.com/coriolinus/adventofcode-2021

Last synced: over 1 year ago
JSON representation

Solutions to Advent of Code, 2021

Awesome Lists containing this project

README

          

# Advent of Code 2021

Solutions to the exercises at .

Each day is a subproject within a shared workspace; this reduces recompilation required.

Uses [`aoctool`](https://github.com/coriolinus/aoctool) for daily setup, and
[`aoclib`](https://github.com/coriolinus/aoclib/) for shared library functions.

## Running a Day

As each day is a sub-crate built from a template, they all have a similar CLI interface. Each is smart
enough to download its input if it does not exist, but use the existing file if it does. Just run the
desired day by name; it'll run part 1. Part 2 can be run by adding a CLI flag.

```bash
cargo run -p day01 -- --part2
```