Problem beareatrabbit
User Johnnie
Submission Time 2023-08-11 15:49:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

beareatrabbit.cpp: In function ‘int main()’:
beareatrabbit.cpp:20:8: error: ‘A’ was not declared in this scope
20 | if (A[i] > maximum)
| ^
beareatrabbit.cpp:29:4: error: ‘A’ was not declared in this scope
29 | A[index] = 0;
| ^
beareatrabbit.cpp:33:4: error: ‘A’ was not declared in this scope
33 | A[index - 1] = 0;
| ^
beareatrabbit.cpp:37:4: error: ‘A’ was not declared in this scope
37 | A[index + 1] = 0;
| ^