Problem descsort
User ForsakenPBJ
Submission Time 2025-01-30 23:13:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp: In function ‘int main()’:
descsort.cpp:15:14: error: no match for ‘operator[]’ (operand types are ‘std::priority_queue<int>’ and ‘int’)
15 | cout << arr[i] << " ";
| ^