mirror of
https://github.com/20kaushik02/leetcode-gulag.git
synced 2025-12-06 09:54:07 +00:00
10 lines
217 B
C++
10 lines
217 B
C++
#include "soln.hpp"
|
|
|
|
int main()
|
|
{
|
|
vector<int> nums{-1, 0, 3, 5, 9, 12};
|
|
int target = 9, answer = 4;
|
|
Solution soln;
|
|
cout << "Binary search done correctly ? " << soln.test(nums, target, answer) << endl;
|
|
return 0;
|
|
} |