Problem cloudcomputing
User SilverClaw
Submission Time 2025-01-27 12:23:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cloudcomputing.cpp: In function ‘long long int maxProfit(int, std::vector<Computer>&, int, std::vector<Order>&)’:
cloudcomputing.cpp:42:38: error: ‘LLONG_MIN’ was not declared in this scope
42 | vector<long long> dp(Cj + 1, LLONG_MIN); // Use LLONG_MIN to represent impossible states
| ^~~~~~~~~
cloudcomputing.cpp:4:1: note: ‘LLONG_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 |