| Problem | priorityqueue |
|---|---|
| User | j0ashhh |
| Submission Time | 2026-02-07 18:32:03 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
priorityqueue.cpp: In function ‘int main()’:
priorityqueue.cpp:6:2: error: ‘prioriy_queue’ was not declared in this scope
6 | prioriy_queue<int> pq;
| ^~~~~~~~~~~~~
priorityqueue.cpp:6:16: error: expected primary-expression before ‘int’
6 | prioriy_queue<int> pq;
| ^~~
priorityqueue.cpp:11:4: error: ‘pq’ was not declared in this scope; did you mean ‘q’?
11 | pq.pop();
| ^~
| q
priorityqueue.cpp:15:4: error: ‘pq’ was not declared in this scope; did you mean ‘q’?
15 | pq.push(x);
| ^~
| q
priorityqueue.cpp:17:12: error: ‘pq’ was not declared in this scope; did you mean ‘q’?
17 | cout << pq.size() << endl;
| ^~
| q
priorityqueue.cpp:19:12: error: ‘pq’ was not declared in this scope; did you mean ‘q’?
19 | cout << pq.top() << endl;
| ^~