Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 84e8f9c

Browse files
Update 0704.二分查找.md
1 parent 190f790 commit 84e8f9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎problems/0704.二分查找.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,8 @@ impl Solution {
515515
```
516516

517517
**C:**
518-
```
519-
//C (版本一) 左闭右闭区间 [left, right]
518+
```c
519+
## (版本一) 左闭右闭区间 [left, right]
520520
int search(int* nums, int numsSize, int target){
521521
int left = 0;
522522
int right = numsSize-1;
@@ -542,8 +542,8 @@ int search(int* nums, int numsSize, int target){
542542
return -1;
543543
}
544544
```
545-
```
546-
C (版本二) 左闭右开区间 [left, right)
545+
```C
546+
##(版本二) 左闭右开区间 [left, right)
547547
int search(int* nums, int numsSize, int target){
548548
int length = numsSize;
549549
int left = 0;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /