Problem | feedtheduck |
---|---|
User | minyin |
Submission Time | 2024-07-29 17:58:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
feedtheduck.cpp: In function ‘int main()’:
feedtheduck.cpp:14:16: error: ‘INT’ was not declared in this scope; did you mean ‘EINTR’?
14 | int best = INT MAX, sum = 0, first_integer = 0;
| ^~~
| EINTR
feedtheduck.cpp:17:9: error: ‘sum’ was not declared in this scope
17 | sum += A[i];
| ^~~
feedtheduck.cpp:21:22: error: ‘first_integer’ was not declared in this scope
21 | sum -= A[first_integer];
| ^~~~~~~~~~~~~