Rosetta Problems

セルオートマトン (Cell Automaton)

https://atcoder.jp/contests/joiopen2023/tasks/joiopen2023_b