Problem sort
User nzx
Submission Time 2025-08-16 22:01:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:12:20: error: expected ‘;’ before ‘for’
12 | sort(arr, arr + n)
| ^
| ;
13 | for (int i = 0; i<n; i++) {
| ~~~
sort.cpp:13:18: error: ‘i’ was not declared in this scope
13 | for (int i = 0; i<n; i++) {
| ^