Problem flamethrower
User Kanish
Submission Time 2023-11-11 23:25:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int max_tree_cost(int, int, const std::vector<int>&)’:
flamethrower.cpp:7:20: error: ‘INT_MIN’ was not declared in this scope
7 | int max_cost = INT_MIN;
| ^~~~~~~
flamethrower.cpp:3:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 |