POJ 1001 Exponentiation

某岛 at 
https://vjudge.net/problem/POJ-1001……