Problem | photo |
---|---|
User | RichardBarlian |
Submission Time | 2025-04-19 10:56:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
photo.cpp: In function ‘int main()’:
photo.cpp:21:5: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
21 | sort(students.begin(), students.end());
| ^~~~
| qsort
photo.cpp:23:19: error: ‘LLONG_MAX’ was not declared in this scope
23 | ll min_diff = LLONG_MAX;
| ^~~~~~~~~
photo.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;