Rosetta Problems

Cellular Automaton

https://onlinejudge.u-aizu.ac.jp/problems/2633