摘要: x 的平方根 题目描述:实现 int sqrt(int x) 函数。 计算并返回 x 的平方根,其中 x 是非负整数。 由于返回类型是整数,结果只保留整数的部分,小数部分将被舍去。 示例说明请见LeetCode官网。 来源:力扣(LeetCode) 链接:https://leetcode-cn.co 阅读全文
posted @ 2021-07-07 12:46 醉舞经阁 阅读(44) 评论(0) 推荐(0)