Problem | finalday |
---|---|
User | xragon |
Submission Time | 2024-12-09 11:09:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
finalday.cpp: In function ‘int main()’:
finalday.cpp:15:27: error: expected ‘;’ before ‘for’
15 | y = max(arr[v],arr[v+1])
| ^
| ;
16 | for (int j = 0; j < n; j++) {
| ~~~
finalday.cpp:16:18: error: ‘j’ was not declared in this scope
16 | for (int j = 0; j < n; j++) {
| ^
finalday.cpp:24:1: error: expected ‘}’ at end of input
24 | }
| ^
finalday.cpp:4:15: note: to match this ‘{’
4 | signed main() {
| ^