Mean: 略。 analyse: 水題,直接快速幂。 Time complexity: O(n) Source code: 快速幂 --- CSU 1556: Jerry's trouble Jerry's trouble Problem's Link: http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1556 快速幂 --- CSU 1556: Jerry's trouble Jerry's trouble Problem's Link: http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1556 View Code