Problem | feedtheduck |
---|---|
User | dzuizz |
Submission Time | 2024-09-17 19:55:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
feedtheduck.cpp: In function ‘int main()’:
feedtheduck.cpp:8:17: error: ‘int64_max’ was not declared in this scope; did you mean ‘int64_t’?
8 | int a[n], ans=int64_max, run=0, j=0;
| ^~~~~~~~~
| int64_t
feedtheduck.cpp:12:5: error: ‘run’ was not declared in this scope
12 | run += a[i];
| ^~~
feedtheduck.cpp:13:20: error: ‘j’ was not declared in this scope
13 | while (run - a[j] >= k) run -= a[j++];
| ^