Problem priorityqueue
User SY
Submission Time 2025-06-19 09:30:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

priorityqueue.cpp: In function ‘int main()’:
priorityqueue.cpp:17:32: error: expected ‘}’ at end of input
17 | else cout << pq.top() << "\n";
| ^
priorityqueue.cpp:10:14: note: to match this ‘{’
10 | while (q--) {
| ^
priorityqueue.cpp:17:32: error: expected ‘}’ at end of input
17 | else cout << pq.top() << "\n";
| ^
priorityqueue.cpp:6:15: note: to match this ‘{’
6 | signed main() {
| ^