Rosetta Problems

イルミネーション (Illumination)

https://atcoder.jp/contests/joi2019yo/tasks/joi2019_yo_e