Problem feedtheduck
User ATHY
Submission Time 2024-07-30 08:01:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

feedtheduck.cpp: In function ‘int main()’:
feedtheduck.cpp:13:29: error: ‘A’ was not declared in this scope
13 | current = current + A[i];
| ^
feedtheduck.cpp:15:36: error: ‘current_sum’ was not declared in this scope; did you mean ‘current’?
15 | min_sum = min(min_sum, current_sum);
| ^~~~~~~~~~~
| current