| Problem | binarysearch |
|---|---|
| User | 6 |
| Submission Time | 2026-06-25 15:06:34 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:20:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
20 | if(a[mid]>=a){
| ^
binarysearch.cpp:23:6: error: expected primary-expression before ‘}’ token
23 | else }
| ^
binarysearch.cpp: At global scope:
binarysearch.cpp:28:1: error: expected declaration before ‘}’ token
28 | }
| ^
binarysearch.cpp:29:1: error: expected declaration before ‘}’ token
29 | }
| ^