Problem descsort
User StormyGood
Submission Time 2024-04-06 14:04:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp: In function ‘int main()’:
descsort.cpp:18:12: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘int [N]’
18 | sort(A.begin(), A.end());
| ^~~~~
descsort.cpp:18:23: error: request for member ‘end’ in ‘A’, which is of non-class type ‘int [N]’
18 | sort(A.begin(), A.end());
| ^~~
descsort.cpp:22:17: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
22 | cout << num << " ";
| ^~~
| enum