My Advent of Code solutions in Python. kevinyap.ca/2019/12/going-fast-in-advent-of-code/
advent-of-code python
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix soultion for 2016/01

+4 -4
+4 -4
2016/day01.py
··· 2 2 from utils import Point 3 3 4 4 DIRS = [ 5 - Point(1, 0), # north 6 - Point(0, 1), # east 7 - Point(-1, 0), # south 8 - Point(0, -1) # west 5 + Point(0, 1), # north 6 + Point(1, 0), # east 7 + Point(0, -1), # south 8 + Point(-1, 0) # west 9 9 ] 10 10 11 11 seen = set()