摘要:
class Solution { public double myPow(double x, int n) { if(n==0){ return 1; } if(n<0) { return 1/x*myPow(1 / x, -n-1); } return (n % 2 == 0) ? myPow(x 阅读全文
posted @ 2021-01-24 15:53
Luas
阅读(45)
评论(0)
推荐(0)
浙公网安备 33010602011771号