Problem | priorityqueue |
---|---|
User | PyAce |
Submission Time | 2025-06-19 10:33:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
priorityqueue.cpp: In function ‘int main()’:
priorityqueue.cpp:8:31: error: expected ‘;’ before ‘cin’
8 | ios_base::sync_with_stdio(0)
| ^
| ;
9 | cin.tie(NULL)
| ~~~
priorityqueue.cpp:16:12: error: ‘mq’ was not declared in this scope
16 | if (!mq.empty()) {
| ^~
priorityqueue.cpp:23:7: error: ‘mq’ was not declared in this scope
23 | mq.push(Currentx);
| ^~
priorityqueue.cpp:26:15: error: ‘mq’ was not declared in this scope
26 | cout << mq.size() << "\n";
| ^~
priorityqueue.cpp:28:12: error: ‘mq’ was not declared in this scope
28 | if (!mq.empty()) {
| ^~