Problem | variety |
---|---|
User | Pan |
Submission Time | 2023-11-27 20:54:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
variety.cpp: In function ‘int main()’:
variety.cpp:22:21: error: ‘LLONG_MAX’ was not declared in this scope
22 | vector<ll> dp(n+1, LLONG_MAX);
| ^~~~~~~~~
variety.cpp:3:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 | #include <utility>
variety.cpp:32:2: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
32 | sort(o.begin(), o.end(), compare);
| ^~~~
| qsort