Problem priorityqueue
User hitarthdangra
Submission Time 2025-06-19 09:23:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

priorityqueue.cpp: In function ‘int main()’:
priorityqueue.cpp:16:12: error: ‘x’ was not declared in this scope
16 | pq.push(x);
| ^
priorityqueue.cpp:25:1: error: expected primary-expression before ‘)’ token
25 | )
| ^
priorityqueue.cpp:25:1: error: expected ‘}’ at end of input
priorityqueue.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^