Rosetta Problems

King's Ring Tower

https://atcoder.jp/contests/maximum-cup-2013/tasks/maximum_2013_g