| Problem | binarysearch |
|---|---|
| User | neoaix |
| Submission Time | 2026-06-25 14:56:47 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:14:15: error: ‘r’ was not declared in this scope
14 | int l = 0 ; r = n-1; mid;
| ^
binarysearch.cpp:14:24: error: ‘mid’ was not declared in this scope
14 | int l = 0 ; r = n-1; mid;
| ^~~
binarysearch.cpp:18:5: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
18 | ans=mid;
| ^~~
| abs
binarysearch.cpp:24:9: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
24 | cout<<ans<<"\n";
| ^~~
| abs