Problem catfight
User blackpanther
Submission Time 2025-05-13 21:20:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catfight.cpp: In function ‘int main()’:
catfight.cpp:21:23: error: ‘A’ was not declared in this scope
21 | curSum += A[r];
| ^
catfight.cpp:24:23: error: ‘A’ was not declared in this scope
24 | curSum -= A[l];
| ^