Problem descsort
User zsinfo2010
Submission Time 2023-11-15 15:17:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp: In function ‘int32_t main()’:
descsort.cpp:12:26: error: expected ‘)’ before ‘for’
12 | reverse(arr, arr + n - 1
| ~ ^
| )
13 | for (int j = 0; j < n; j++) {
| ~~~
descsort.cpp:13:18: error: ‘j’ was not declared in this scope
13 | for (int j = 0; j < n; j++) {
| ^