Problem feedtheduck
User 5iddharth
Submission Time 2026-03-07 22:18:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

feedtheduck.cpp: In function ‘int main()’:
feedtheduck.cpp:25:25: error: ‘INT_MAX’ was not declared in this scope
25 | ll cursum, minsum = INT_MAX;
| ^~~~~~~
feedtheduck.cpp:8:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
7 | #include <cmath>
+++ |+#include <climits>
8 | using namespace std;