Problem | binarysearch |
---|---|
User | Secre |
Submission Time | 2025-06-19 16:10:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:17:9: error: expected ‘;’ before ‘)’ token
17 | for(l<=r){
| ^
| ;
binarysearch.cpp:27:1: error: expected primary-expression before ‘return’
27 | return 0;
| ^~~~~~
binarysearch.cpp:26:20: error: expected ‘)’ before ‘return’
26 | cout<<answer<<'\n';
| ^
| )
27 | return 0;
| ~~~~~~
binarysearch.cpp:17:4: note: to match this ‘(’
17 | for(l<=r){
| ^