Problem curtains
User Louis
Submission Time 2024-03-06 00:31:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

curtains.cpp: In function ‘int main()’:
curtains.cpp:31:12: error: ‘INT_MAX’ was not declared in this scope
31 | ml=INT_MAX;
| ^~~~~~~
curtains.cpp:5:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
4 | #include <cmath>
+++ |+#include <climits>
5 |
curtains.cpp:32:12: error: ‘INT_MIN’ was not declared in this scope
32 | mr=INT_MIN;
| ^~~~~~~
curtains.cpp:32:12: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?