Problem candymountain_ex
User jaylchicken
Submission Time 2025-02-15 19:39:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candymountain_ex.cpp: In function ‘int main()’:
candymountain_ex.cpp:21:37: error: ‘INT_MAX’ was not declared in this scope
21 | int min_candy_along_route = INT_MAX;
| ^~~~~~~
candymountain_ex.cpp:2:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
1 | #include <iostream>
+++ |+#include <climits>
2 |