https://github.com/rgson/adventofcode
My Advent of Code solutions
https://github.com/rgson/adventofcode
advent-of-code advent-of-code-2015 advent-of-code-2016 advent-of-code-2019 programming-challenges
Last synced: 21 days ago
JSON representation
My Advent of Code solutions
- Host: GitHub
- URL: https://github.com/rgson/adventofcode
- Owner: rgson
- Created: 2019-12-08T10:56:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-09T19:16:01.000Z (about 6 years ago)
- Last Synced: 2025-01-15T08:19:49.168Z (11 months ago)
- Topics: advent-of-code, advent-of-code-2015, advent-of-code-2016, advent-of-code-2019, programming-challenges
- Language: Python
- Size: 202 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code
My [Advent of Code](https://adventofcode.com/) solutions.
Each challenge is kept in a separate directory.
Each directory contains the challenge's input and solution.
Solutions are executable. Execute them from within the challenge's directory.
`./new` prepares a new directory and a source file based on a template.
```sh
./new 2019 8 py # prepare a new directory (python template)
cd 2019/08
mv ~/downloads/input.txt . # add the input
editor solution.py # code the solution
./solution.py
```