Rosetta Problems

Power of Power

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