Rosetta Problems

Square

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