Problem coke
User PlayVoltz
Submission Time 2023-09-11 22:23:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

coke.cpp: In function ‘int main()’:
coke.cpp:47:12: error: request for member ‘begin’ in ‘vect’, which is of non-class type ‘std::pair<long long int, long long int> [3000]’
47 | sort(vect.begin(), vect.end(), customsort);
| ^~~~~
coke.cpp:47:26: error: request for member ‘end’ in ‘vect’, which is of non-class type ‘std::pair<long long int, long long int> [3000]’
47 | sort(vect.begin(), vect.end(), customsort);
| ^~~