My solutions to 2018's advent of code
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
Chris Smith 665f0309b3 Day 1 in nim 5 年前
data Day 5 5 年前
docker Day 1 in nim 5 年前
.gitignore Day 1 in nim 5 年前
01.py Appease Shane. 5 年前
02.py Appease Shane. 5 年前
03.py Performance improvements 5 年前
04.py Day 4 5 年前
05.py Day 5 5 年前
LICENCE.md Day 1 5 年前
README.md Appease Shane. 5 年前
day01.nim Day 1 in nim 5 年前
run.sh Day 1 in nim 5 年前

README.md

Advent of Code 2018

This repository contains my solution to 2018’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 previous years:


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.