Rosetta Problems

Light It Up

https://atcoder.jp/contests/abc255/tasks/abc255_b