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

Compile Error

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