Rosetta Problems

Streetlight Inspection

https://atcoder.jp/contests/awc0108/tasks/awc0108_e