Problem | speakers |
---|---|
User | AltheaZ |
Submission Time | 2023-07-10 19:28:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
speakers.cpp: In function ‘int speakersNeeded(int, int, std::vector<std::pair<int, int> >&)’:
speakers.cpp:8:27: error: ‘INT_MAX’ was not declared in this scope
8 | vector<int> dp(M + 1, INT_MAX);
| ^~~~~~~
speakers.cpp:4:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 |