Rosetta Problems

Subdivide The Land

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