Problem descsort
User JerryCodebreaker
Submission Time 2024-01-27 18:20:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp: In function ‘int main()’:
descsort.cpp:10:10: error: request for member ‘begin’ in ‘t’, which is of non-class type ‘int [a]’
10 | sort(t.begin(),t.end());
| ^~~~~
descsort.cpp:10:20: error: request for member ‘end’ in ‘t’, which is of non-class type ‘int [a]’
10 | sort(t.begin(),t.end());
| ^~~
descsort.cpp:10:3: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
10 | sort(t.begin(),t.end());
| ^~~~
| qsort