Rosetta Problems

Game

https://atcoder.jp/contests/code-festival-2014-china-open/tasks/code_festival_china_e