AoC2020/03-1-1.py

2 lines
75 B
Python
Raw Normal View History

2020-12-03 22:48:33 +00:00
print(sum('#'==list(open('/dev/stdin'))[i][(i*3)%31] for i in range(323)))