Problem movingkids
User jerrielchangjiebin
Submission Time 2024-12-18 13:59:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

movingkids.cpp: In function ‘int main()’:
movingkids.cpp:30:21: error: ‘INT_MAX’ was not declared in this scope
30 | int min_moves = INT_MAX;
| ^~~~~~~
movingkids.cpp:5:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
4 | #include <cmath>
+++ |+#include <climits>
5 | using namespace std;