Problem priorityqueue
User Hatrix
Submission Time 2026-07-08 17:19:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

priorityqueue.cpp: In function ‘int main()’:
priorityqueue.cpp:9:10: error: expected unqualified-id before ‘=’ token
9 | for(int = 0; i < q; ++i) {
| ^
priorityqueue.cpp:9:10: error: expected ‘;’ before ‘=’ token
priorityqueue.cpp:9:10: error: expected primary-expression before ‘=’ token
priorityqueue.cpp:9:15: error: ‘i’ was not declared in this scope
9 | for(int = 0; i < q; ++i) {
| ^
priorityqueue.cpp:9:20: error: expected ‘)’ before ‘;’ token
9 | for(int = 0; i < q; ++i) {
| ~ ^
| )
priorityqueue.cpp:9:24: error: ‘i’ was not declared in this scope
9 | for(int = 0; i < q; ++i) {
| ^