Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/grub4k/aoc-solutions

Solutions to Advent of Code
https://github.com/grub4k/aoc-solutions

advent-of-code advent-of-code-2015 advent-of-code-2021 advent-of-code-2022 advent-of-code-2023

Last synced: 25 days ago
JSON representation

Solutions to Advent of Code

Awesome Lists containing this project

README

        

# aoc-solutions
My Solutions to Advent of Code

## How to use
Put your input files into `input//.txt` whereas `day` is padded to 2 places, so the input for day 1 for aoc 2021 would be `input/2021/01.txt`. You can use test files by appending a `#` to the name, like `input/2021/01#.txt`.

To run the solutions, you have to have Python installed. Use `python -m aoc pattern [pattern ...]` to output all the solutions that are implemented and match the pattern. The pattern is of the form `--` where each individual item can also be replaced with `*` to run all solutions.

To use the test input instead of the resular input, add `--test` to the commandline.

You can add `--language ` to run that specific languages solution implementation (default is to run the Python solutions).