Problem binarysearch
User neoaix
Submission Time 2026-06-25 14:45:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:17:16: error: ‘arr’ was not declared in this scope
17 | if(arr[mid]>= x){
| ^~~
binarysearch.cpp:17:27: error: ‘x’ was not declared in this scope
17 | if(arr[mid]>= x){
| ^