Problem stepgame
User YEethui
Submission Time 2023-11-04 15:59:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stepgame.cpp: In function ‘int smallestSubarray(int*, int)’:
stepgame.cpp:4:27: error: ‘INT_MAX’ was not declared in this scope
4 | int min_ending_here = INT_MAX;
| ^~~~~~~
stepgame.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;