AoC2020/03-1-1.py
2020-12-03 23:48:33 +01:00

2 lines
75 B
Python

print(sum('#'==list(open('/dev/stdin'))[i][(i*3)%31] for i in range(323)))