2017年8月8日
摘要: 1 50 Power(x, n) 1 确定n正负 2 结果正负 3 二分 public double myPow(double x, int n) { if (n == 0) return 1.0; double res = 1.0; if (n < 0) { if (x < 1 / Double. 阅读全文
posted @ 2017-08-08 10:05 wheleetcode 阅读(144) 评论(0) 推荐(0)