摘要: Description: Implement int sqrt(int x). Compute and return the square root of x. 解题思路: 直接利用牛顿迭代法进行解答,数值阈为0.0001,代码如下 class Solution {public: int mySqr 阅读全文
posted @ 2017-05-17 00:45 legooooo 阅读(126) 评论(0) 推荐(0)