Chris Smith 636ec28825 24 | 6 years ago | |
---|---|---|
data | 6 years ago | |
docker | 6 years ago | |
.gitignore | 6 years ago | |
01.py | 6 years ago | |
02.py | 6 years ago | |
03.py | 6 years ago | |
04.py | 6 years ago | |
05.py | 6 years ago | |
06.py | 6 years ago | |
07.py | 6 years ago | |
08.py | 6 years ago | |
09.py | 6 years ago | |
10.py | 6 years ago | |
11.py | 6 years ago | |
12.py | 6 years ago | |
13.py | 6 years ago | |
14.py | 6 years ago | |
15.py | 6 years ago | |
16.py | 6 years ago | |
17.py | 6 years ago | |
18.py | 6 years ago | |
19.py | 6 years ago | |
20.py | 6 years ago | |
21.py | 6 years ago | |
22.py | 6 years ago | |
23.py | 6 years ago | |
24.py | 6 years ago | |
LICENCE.md | 6 years ago | |
README.md | 6 years ago | |
run.sh | 6 years ago | |
shared.py | 6 years ago |
This repository contains my solution to 2017’s Advent of Code puzzles. The solutions are all written in Python 3; one or two may require the NumPy package, but the rest should work out-of-the-box.
If you have docker installed, simply execute run.sh
to build a docker image and execute the latest solution
using pypy3. You can specify other days by passing the script names as arguments (e.g. run.sh 03.py
).
I tend to focus on short, functional solutions where possible, so they may be a bit hard to read. Some solutions are commented to some degree to help with that.
I have separate repositories for solutions from 2016 and 2015.
To the extent possible under law, I waive all copyright and related or neighboring rights to this work. This work is published from the United Kingdom. See LICENCE.md for full details.