Solutions to Advent of Code 2017 https://adventofcode.com/2017/
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Chris Smith e9ef83f514 Day 25 vor 6 Jahren
data Day 25 vor 6 Jahren
docker Docker docker docker docker docker vor 6 Jahren
.gitignore Day 14 vor 6 Jahren
01.py f-strings vor 6 Jahren
02.py f-strings vor 6 Jahren
03.py Unsatisfying day 3. vor 6 Jahren
04.py Day 4. vor 6 Jahren
05.py Day 5. vor 6 Jahren
06.py Day 6. vor 6 Jahren
07.py Minor day 7 tidying vor 6 Jahren
08.py Day 8 vor 6 Jahren
09.py Day 9. vor 6 Jahren
10.py Day 14 vor 6 Jahren
11.py Simplify a little. vor 6 Jahren
12.py Day 14 vor 6 Jahren
13.py Quick and dirty day 13 vor 6 Jahren
14.py Further optimise day 14. vor 6 Jahren
15.py Starmap! vor 6 Jahren
16.py Reduce instead of iterating. vor 6 Jahren
17.py Day 17. vor 6 Jahren
18.py Tidy 18 a little. vor 6 Jahren
19.py Optimise junction handling slightly. vor 6 Jahren
20.py Day 20. vor 6 Jahren
21.py Day 21 vor 6 Jahren
22.py Day 22. vor 6 Jahren
23.py Manual day 23 vor 6 Jahren
24.py 24 vor 6 Jahren
25.py Day 25 vor 6 Jahren
LICENCE.md README and LICENCE. vor 6 Jahren
README.md Docker docker docker docker docker vor 6 Jahren
run.sh Docker docker docker docker docker vor 6 Jahren
shared.py Day 14 vor 6 Jahren

README.md

Advent of Code 2017

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.