Problem binarysearch
User notachicken
Submission Time 2026-07-10 16:07:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:14:23: error: ‘x’ was not declared in this scope
14 | if (a[mid] >= x) {
| ^
binarysearch.cpp:20:13: error: expected primary-expression before ‘;’ token
20 | cout << ;
| ^