Problem binarysearch
User mengqi6767
Submission Time 2026-06-25 15:39:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:33:12: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
33 | cout << ans<< "\n";
| ^~~
| abs