Problem paint
User thatlycheeoolongdrink
Submission Time 2024-02-28 16:27:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

paint.cpp: In function ‘int main()’:
paint.cpp:18:25: error: ‘INT_MAX’ was not declared in this scope
18 | int min_price = INT_MAX, min_job = -1;
| ^~~~~~~
paint.cpp:4:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 | using namespace std;
paint.cpp:23:17: error: ‘min_job’ was not declared in this scope
23 | min_job = job;
| ^~~~~~~