Rosetta Problems

And Then. How Many Are There?

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