We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9782e9 commit 092cb42Copy full SHA for 092cb42
第3章排序与查找/3.2查找/3-5查找.cpp
@@ -1,8 +1,6 @@
1
#include<iostream>
2
#include<algorithm>
3
-
4
using namespace std;
5
6
bool BinarySearch(int n,int target,int num[]) {
7
int left=0,right=n-1;
8
while(left<=right) {
0 commit comments