Rosetta Problems

ランプ (Lamps)

https://atcoder.jp/contests/joisc2019/tasks/joisc2019_h