Skip to content

Commit 3899f9e

Browse files
committed
Update solution0069
1 parent 6b5cbb3 commit 3899f9e

File tree

5 files changed

+25
-1
lines changed

5 files changed

+25
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ I'm looking for long-term contributors/partners to this repo! Send me [PRs](http
120120
- Submit a pull request with your changes!
121121
- For more details, see [CONTRIBUTING.md](https://github.com/doocs/leetcode/blob/master/.github/CONTRIBUTING.md)
122122

123-
![how-to-contribute](http://p9ucdlghd.bkt.clouddn.com/how-to-contribute-yanglbme.png)
123+
![how-to-contribute](/img/how-to-contribute-yanglbme.png)
124124

125125
## Contributors
126126

img/how-to-contribute-yanglbme.png

17.7 KB
Loading

solution/0069.Sqrt(x)/README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## x 的平方根
2+
### 题目描述
3+
4+
实现 `int sqrt(int x)` 函数。
5+
6+
计算并返回 x 的平方根,其中 x 是非负整数。
7+
8+
由于返回类型是整数,结果只保留整数的部分,小数部分将被舍去。
9+
10+
**示例 1:**
11+
```
12+
输入: 4
13+
输出: 2
14+
```
15+
16+
**示例 2:**
17+
```
18+
输入: 8
19+
输出: 2
20+
说明: 8 的平方根是 2.82842...,
21+
由于返回类型是整数,小数部分将被舍去。
22+
```
23+
24+
### 解法
File renamed without changes.

0 commit comments

Comments
 (0)