Problem | bestplace |
---|---|
User | Soysauce |
Submission Time | 2024-03-27 19:32:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bestplace.cpp: In function ‘int main()’:
bestplace.cpp:35:11: error: ‘else’ without a previous ‘if’
35 | } else {
| ^~~~
bestplace.cpp:36:24: error: ‘mid’ was not declared in this scope
36 | eventX = X[mid + 1];
| ^~~
bestplace.cpp: At global scope:
bestplace.cpp:40:5: error: ‘cout’ does not name a type
40 | cout << eventX << " 0" << endl;
| ^~~~
bestplace.cpp:42:5: error: expected unqualified-id before ‘return’
42 | return 0;
| ^~~~~~
bestplace.cpp:43:1: error: expected declaration before ‘}’ token
43 | }
| ^