Problem | priorityqueue |
---|---|
User | Secre |
Submission Time | 2025-06-19 09:43:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
priorityqueue.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
priorityqueue.cpp: In function ‘int main()’:
priorityqueue.cpp:5:1: error: ‘cin’ was not declared in this scope
5 | cin>>Q;
| ^~~
priorityqueue.cpp:6:1: error: ‘priority_queue’ was not declared in this scope
6 | priority_queue<int>pq;
| ^~~~~~~~~~~~~~
priorityqueue.cpp:6:16: error: expected primary-expression before ‘int’
6 | priority_queue<int>pq;
| ^~~
priorityqueue.cpp:7:8: error: expected ‘;’ before ‘)’ token
7 | for(Q--){
| ^
| ;
priorityqueue.cpp:26:1: error: expected primary-expression before ‘return’
26 | return 0;
| ^~~~~~
priorityqueue.cpp:25:2: error: expected ‘;’ before ‘return’
25 | }
| ^
| ;
26 | return 0;
| ~~~~~~
priorityqueue.cpp:26:1: error: expected pr