Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tusharsadhwani/aoc2021
My Advent of Code 2021 solutions.
https://github.com/tusharsadhwani/aoc2021
advent-of-code
Last synced: 25 days ago
JSON representation
My Advent of Code 2021 solutions.
- Host: GitHub
- URL: https://github.com/tusharsadhwani/aoc2021
- Owner: tusharsadhwani
- License: mit
- Created: 2021-12-01T18:26:27.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-25T14:46:18.000Z (almost 3 years ago)
- Last Synced: 2023-03-03T00:02:18.387Z (over 1 year ago)
- Topics: advent-of-code
- Language: Python
- Homepage:
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aoc2021
My [Advent of Code](https://adventofcode.com) 2021 solutions. Written in python with [type annotations](https://sadh.life/post/mypy-guide).
## Running
Find the answers to part1 and part2 of any day of the problem by:
- Replacing `day_XX/input` file contents with your input.
- Running `python day_XX/main.py`. It will output two values, one for each part.## Testing
Run `pytest day_XX/main.py` to test that file.
Run `./test_all.sh` to test and type check all files.