Problem whiteboardgame
User gelastropod
Submission Time 2024-12-04 10:23:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

whiteboardgame.cpp: In constructor ‘node::node(long long int, long long int)’:
whiteboardgame.cpp:11:62: error: ‘INT_MAX’ was not declared in this scope
11 | node(int _s, int _e) : s(_s), e(_e), m((_s + _e) / 2), v(INT_MAX)
| ^~~~~~~
whiteboardgame.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;