Problem catlunch
User Lypho
Submission Time 2024-12-02 03:09:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘lint maxSatisfaction(std::vector<long long int>, lint)’:
catlunch.cpp:14:16: error: ‘INT_MIN’ was not declared in this scope
14 | lint res = INT_MIN;
| ^~~~~~~
catlunch.cpp:4:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <cmath>
+++ |+#include <climits>
4 |