| Problem | feedtheduck |
|---|---|
| User | phoenixai0 |
| Submission Time | 2025-11-19 11:40:21 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
feedtheduck.cpp: In function ‘int main()’:
feedtheduck.cpp:13:26: error: ‘LLONG_MAX’ was not declared in this scope
13 | long long s = 0, m = LLONG_MAX, l = 0;
| ^~~~~~~~~
feedtheduck.cpp:3:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 |
feedtheduck.cpp:19:20: error: ‘l’ was not declared in this scope
19 | s -= a[l++];
| ^