Skip to content

Commit a1ca345

Browse files
Update 704.BinarySearch.cpp
1 parent 00827c8 commit a1ca345

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

704.BinarySearch.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
/// Time Submitted: 06/22/2021 00:07
1111
///
1212

13+
class Solution {
14+
public:
1315
int search(vector<int>& nums, int target) {
1416
return binary_search_ex(move(nums), target, 0);
1517
}
@@ -52,3 +54,4 @@
5254

5355
return ret + offset;
5456
}
57+
};

0 commit comments

Comments
 (0)