Problem descsort
User SMJ360
Submission Time 2024-06-19 10:03:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp: In function ‘int main()’:
descsort.cpp:12:19: error: expected ‘;’ before ‘<’ token
12 | for (int i = 0, i < n, i++) {
| ^~
| ;
descsort.cpp:12:20: error: expected primary-expression before ‘<’ token
12 | for (int i = 0, i < n, i++) {
| ^
descsort.cpp:12:28: error: expected ‘;’ before ‘)’ token
12 | for (int i = 0, i < n, i++) {
| ^
| ;
descsort.cpp:13:22: error: expected ‘;’ at end of input
13 | cout << A[i] << " "
| ~~~^
| ;
descsort.cpp:13:19: error: expected ‘}’ at end of input
13 | cout << A[i] << " "
| ^~~
descsort.cpp:12:30: note: to match this ‘{’
12 | for (int i = 0, i < n, i++) {
| ^
des