Problem | arrayproblem |
---|---|
User | Pan |
Submission Time | 2023-11-22 22:36:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
arrayproblem.cpp: In function ‘int main()’:
arrayproblem.cpp:20:10: error: ‘LLONG_MAX’ was not declared in this scope
20 | arr[0]=-LLONG_MAX;
| ^~~~~~~~~
arrayproblem.cpp:4:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <vector>
+++ |+#include <climits>
4 | using namespace std;
arrayproblem.cpp:21:2: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
21 | sort(arr.begin(), arr.end());
| ^~~~
| qsort