Advent of Code 2017

This is my solution. It works quite fast, it solves the second part in about 750ms.

1 Like