class Solution {
public:
int mySqrt(int x) {
long a = x;
while (a * a > x){
a = (a + x / a) / 2;
}
return a;
}
};
标签:Leet,Code,return,int,69,平方根
From: https://www.cnblogs.com/poteitoutou/p/17289070.html