AoC2020/03-1-1.py

2 lines
64 B
Python

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