Problem priorityqueue
User Secre
Submission Time 2025-06-19 09:46:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

priorityqueue.cpp: In function ‘int main()’:
priorityqueue.cpp:7:8: error: expected ‘;’ before ‘)’ token
7 | for(Q--){
| ^
| ;
priorityqueue.cpp:25:1: error: expected primary-expression at end of input
25 | }
| ^
priorityqueue.cpp:25:2: error: expected ‘;’ at end of input
25 | }
| ~^
| ;
priorityqueue.cpp:25:1: error: expected primary-expression at end of input
25 | }
| ^
priorityqueue.cpp:25:2: error: expected ‘)’ at end of input
25 | }
| ~^
| )
priorityqueue.cpp:7:4: note: to match this ‘(’
7 | for(Q--){
| ^
priorityqueue.cpp:25:1: error: expected statement at end of input
25 | }
| ^
priorityqueue.cpp:25:1: error: expected ‘}’ at end of input
priorityqueue.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^