Problem sort
User PlayVoltz
Submission Time 2023-05-10 23:30:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:16:47: error: expected ‘;’ before ‘for’
16 | sort(vect.begin(), vect.end(), customCompare)
| ^
| ;
17 | for ( int i=0; i<n; i++){
| ~~~
sort.cpp:17:17: error: ‘i’ was not declared in this scope
17 | for ( int i=0; i<n; i++){
| ^