Problem lunchbox
User aiden
Submission Time 2025-01-23 07:27:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:6:20: error: ‘INT_MAX’ was not declared in this scope
6 | int smallest = INT_MAX;
| ^~~~~~~
lunchbox.cpp:3:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 | using namespace std;