Solutions to Advent of Code 2017 https://adventofcode.com/2017/
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Chris Smith e9ef83f514 Day 25 6 gadus atpakaļ
data Day 25 6 gadus atpakaļ
docker Docker docker docker docker docker 6 gadus atpakaļ
.gitignore Day 14 6 gadus atpakaļ
01.py f-strings 6 gadus atpakaļ
02.py f-strings 6 gadus atpakaļ
03.py Unsatisfying day 3. 6 gadus atpakaļ
04.py Day 4. 6 gadus atpakaļ
05.py Day 5. 6 gadus atpakaļ
06.py Day 6. 6 gadus atpakaļ
07.py Minor day 7 tidying 6 gadus atpakaļ
08.py Day 8 6 gadus atpakaļ
09.py Day 9. 6 gadus atpakaļ
10.py Day 14 6 gadus atpakaļ
11.py Simplify a little. 6 gadus atpakaļ
12.py Day 14 6 gadus atpakaļ
13.py Quick and dirty day 13 6 gadus atpakaļ
14.py Further optimise day 14. 6 gadus atpakaļ
15.py Starmap! 6 gadus atpakaļ
16.py Reduce instead of iterating. 6 gadus atpakaļ
17.py Day 17. 6 gadus atpakaļ
18.py Tidy 18 a little. 6 gadus atpakaļ
19.py Optimise junction handling slightly. 6 gadus atpakaļ
20.py Day 20. 6 gadus atpakaļ
21.py Day 21 6 gadus atpakaļ
22.py Day 22. 6 gadus atpakaļ
23.py Manual day 23 6 gadus atpakaļ
24.py 24 6 gadus atpakaļ
25.py Day 25 6 gadus atpakaļ
LICENCE.md README and LICENCE. 6 gadus atpakaļ
README.md Docker docker docker docker docker 6 gadus atpakaļ
run.sh Docker docker docker docker docker 6 gadus atpakaļ
shared.py Day 14 6 gadus atpakaļ

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.