My solutions to 2018's advent of code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Chris Smith 4020a24704 Revert "Little performance enhancement for day 22" 5 years ago
answers Day 22 5 years ago
data Day 22 5 years ago
docker Alpine wasn't that fast... 5 years ago
.gitignore Day 1 in nim 5 years ago
LICENCE.md Day 1 5 years ago
README.md Remove python, use alpine. Holy speed, batman. 5 years ago
day01.nim func! 5 years ago
day02.nim func! 5 years ago
day03.nim Port day 3 to nim 5 years ago
day04.nim Nim day 4 5 years ago
day05.nim Style tweaks 5 years ago
day06.nim Performance improvement for day 6 5 years ago
day07.nim Use var not pointers 5 years ago
day08.nim Alpine wasn't that fast... 5 years ago
day09.nim Shave another 10ms off of day 9. 5 years ago
day10.nim Optimise day 10 5 years ago
day11.nim Minor day 11 optimisations 5 years ago
day12.nim Unsatisfying day 12. 5 years ago
day13.nim Unused imports 5 years ago
day14.nim Just use a sequence not an array 5 years ago
day15.nim Day 15, finally. 5 years ago
day16.nim Icky day 21. 5 years ago
day17.nim Fix edge case 5 years ago
day18.nim Day 18 5 years ago
day19.nim Icky day 21. 5 years ago
day20.nim Day 20. 5 years ago
day21.nim Icky day 21. 5 years ago
day22.nim Revert "Little performance enhancement for day 22" 5 years ago
elfcode.nim Icky day 21. 5 years ago
run.sh Alpine wasn't that fast... 5 years ago

README.md

Advent of Code 2018

This repository contains my solution to 2018’s Advent of Code puzzles in Nim.

The easiest way to run these is using docker -- simply execute run.sh <day> to build a docker image and execute the specific day.

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.