Problem descsort
User Dolphy
Submission Time 2022-12-27 11:18:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp: In function ‘int main()’:
descsort.cpp:8:10: error: ‘i’ was not declared in this scope
8 | for (i=0; i<length; i++){
| ^
descsort.cpp:11:27: error: invalid types ‘<unresolved overloaded function type>[int*]’ for array subscript
11 | sort[list, list+length];
| ^
descsort.cpp:12:30: error: invalid types ‘<unresolved overloaded function type>[int*]’ for array subscript
12 | reverse[list, list+length];
| ^
descsort.cpp:13:10: error: ‘i’ was not declared in this scope
13 | for (i=0; i<length; i++){
| ^