AoC2020/03-1-1.py

2 lines
81 B
Python
Raw Normal View History

2020-12-03 21:51:07 +00:00
print(sum('#'==open('/dev/stdin').readlines()[i][(i*3)%31] for i in range(323)))