Problem twomeals
User joxi
Submission Time 2023-12-30 19:52:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

twomeals.cpp: In function ‘int max_satisfaction(int, std::vector<int>&)’:
twomeals.cpp:13:19: error: ‘INT_MIN’ was not declared in this scope
13 | int max_sum = INT_MIN;
| ^~~~~~~
twomeals.cpp:3:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 |