Problem | descsort |
---|---|
User | duck |
Submission Time | 2024-11-11 10:05:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
descsort.cpp: In function ‘int main()’:
descsort.cpp:9:15: error: request for member ‘begin’ in ‘list’, which is of non-class type ‘long long int [n]’
9 | sort(list.begin(), list.end(), greater<long long>());
| ^~~~~
descsort.cpp:9:29: error: request for member ‘end’ in ‘list’, which is of non-class type ‘long long int [n]’
9 | sort(list.begin(), list.end(), greater<long long>());
| ^~~