Problem binarysearch
User ethantanaki
Submission Time 2026-11-16 17:12:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarysearch.cpp: In function ‘int32_t main()’:
binarysearch.cpp:15:8: error: ‘a’ was not declared in this scope
15 | if (a[mid] >= x){
| ^
binarysearch.cpp:15:18: error: ‘x’ was not declared in this scope
15 | if (a[mid] >= x){
| ^