Problem burgers
User snorky
Submission Time 2024-01-15 21:38:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

burgers.cpp: In function ‘int main()’:
burgers.cpp:20:15: error: ‘INT_MAX’ was not declared in this scope
20 | int max_a = INT_MAX;
| ^~~~~~~
burgers.cpp:2:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
1 | #include <iostream>
+++ |+#include <climits>
2 | using namespace std;
burgers.cpp:27:13: error: ‘INT_MIN’ was not declared in this scope
27 | int ans = INT_MIN;
| ^~~~~~~
burgers.cpp:27:13: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?