Problem psle
User de3znut5
Submission Time 2024-04-11 13:05:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:20:32: error: ‘INT_MIN’ was not declared in this scope
20 | if ((std::get<0>(v) ?: INT_MIN)<=n && n<=(std::get<1>(v) ?: INT_MAX))
| ^~~~~~~
psle.cpp:3:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <map>
+++ |+#include <climits>
3 | #include <tuple>
psle.cpp:20:69: error: ‘INT_MAX’ was not declared in this scope
20 | if ((std::get<0>(v) ?: INT_MIN)<=n && n<=(std::get<1>(v) ?: INT_MAX))
| ^~~~~~~
psle.cpp:20:69: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?