Problem descsort
User Tristyy
Submission Time 2024-06-19 10:00:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp: In function ‘int main()’:
descsort.cpp:11:16: error: incompatible types in assignment of ‘void’ to ‘int [c]’
11 | d = sort(a,a+c);c
| ^
descsort.cpp:11:19: error: expected ‘;’ before ‘cout’
11 | d = sort(a,a+c);c
| ^
| ;
12 | cout << d
| ~~~~