Problem priorityqueue
User grapepes
Submission Time 2025-06-19 10:08:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

priorityqueue.cpp: In function ‘int main()’:
priorityqueue.cpp:24:1: error: ‘pq_integers’ was not declared in this scope
24 | pq_integers.push(X);
| ^~~~~~~~~~~
priorityqueue.cpp:26:18: error: expected ‘;’ before ‘}’ token
26 | cout << pq.size()
| ^
| ;
27 | } else if (O==4)
| ~
priorityqueue.cpp:28:17: error: expected ‘;’ before ‘}’ token
28 | cout << pq.top()
| ^
| ;
......
31 | }
| ~