mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-11 13:00:22 +08:00
修正Markdown代码块语法
This commit is contained in:
@ -116,7 +116,7 @@ public:
|
|||||||
|
|
||||||
**大家要仔细看注释,思考为什么要写while(left <= right), 为什么要写right = middle - 1**。
|
**大家要仔细看注释,思考为什么要写while(left <= right), 为什么要写right = middle - 1**。
|
||||||
|
|
||||||
```
|
```C++
|
||||||
class Solution {
|
class Solution {
|
||||||
public:
|
public:
|
||||||
int searchInsert(vector<int>& nums, int target) {
|
int searchInsert(vector<int>& nums, int target) {
|
||||||
@ -158,7 +158,7 @@ public:
|
|||||||
|
|
||||||
**大家要仔细看注释,思考为什么要写while (left < right), 为什么要写right = middle**。
|
**大家要仔细看注释,思考为什么要写while (left < right), 为什么要写right = middle**。
|
||||||
|
|
||||||
```
|
```C++
|
||||||
class Solution {
|
class Solution {
|
||||||
public:
|
public:
|
||||||
int searchInsert(vector<int>& nums, int target) {
|
int searchInsert(vector<int>& nums, int target) {
|
||||||
|
Reference in New Issue
Block a user