Problem descsort
User jianxiang
Submission Time 2024-07-25 10:12:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp: In function ‘int main()’:
descsort.cpp:13:16: error: expected ‘;’ before ‘for’
13 | sort(a, a + n)
| ^
| ;
14 |
15 | for(int i = 0; i < n; i++) {
| ~~~
descsort.cpp:15:17: error: ‘i’ was not declared in this scope
15 | for(int i = 0; i < n; i++) {
| ^