Problem rabbitmeeting
User Pan
Submission Time 2023-11-29 10:14:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rabbitmeeting.cpp: In function ‘int main()’:
rabbitmeeting.cpp:19:2: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
19 | sort(x.begin(), x.end());
| ^~~~
| qsort
rabbitmeeting.cpp:33:11: error: ‘LLONG_MAX’ was not declared in this scope
33 | ll ans = LLONG_MAX;
| ^~~~~~~~~
rabbitmeeting.cpp:3:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 | using namespace std;