Problem paint
User ThatOneGuy
Submission Time 2025-03-14 13:48:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

paint.cpp: In function ‘int main()’:
paint.cpp:15:33: error: ‘LLONG_MAX’ was not declared in this scope
15 | vector<long long> dp(n + 1, LLONG_MAX);
| ^~~~~~~~~
paint.cpp:4:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 |