Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/grub4k/aoc-solutions
- Owner: Grub4K
- License: mit
- Created: 2021-12-10T08:11:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-28T18:21:23.000Z (9 months ago)
- Last Synced: 2024-05-01T17:54:10.576Z (6 months ago)
- Topics: advent-of-code, advent-of-code-2015, advent-of-code-2021, advent-of-code-2022, advent-of-code-2023
- Language: Python
- Homepage:
- Size: 116 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).