@[toc](Java:实现pow (x, n)算法)
// Implement pow(x, n).
public class PowerOfXToTheN {
public double myPow(double x, int n) {
if(n
@[toc](Java:实现pow (x, n)算法)
// Implement pow(x, n).
public class PowerOfXToTheN {
public double myPow(double x, int n) {
if(n