Problem snakenladder
User pIaceholder
Submission Time 2024-01-26 15:02:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snakenladder.cpp: In function ‘int solve(std::unordered_map<int, int>&, int, int)’:
snakenladder.cpp:9:15: error: ‘INT_MAX’ was not declared in this scope
9 | int ans = INT_MAX;
| ^~~~~~~
snakenladder.cpp:4:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <cstring>
+++ |+#include <climits>
4 |