Rosetta Problems

Range of Illumination

https://atcoder.jp/contests/awc0114/tasks/awc0114_a