0_0_30572384_25282.cpp: In function 'int main()':
0_0_30572384_25282.cpp:2:5: error: 'priority_queue' was not declared in this scope
priority_queue<int> q[4];
^
0_0_30572384_25282.cpp:2:20: error: expected primary-expression before 'int'
priority_queue<int> q[4];
^
0_0_30572384_25282.cpp:7:26: error: 'scanf' was not declared in this scope
while (scanf("%d", &N) != EOF) {
^
0_0_30572384_25282.cpp:7:31: error: 'EOF' was not declared in this scope
while (scanf("%d", &N) != EOF) {
^
0_0_30572384_25282.cpp:11:21: error: 'q' was not declared in this scope
while (!q[i].empty()) q[i].pop();
^
0_0_30572384_25282.cpp:18:17: error: 'q' was not declared in this scope
q[A].push(--id + (B << 16));
^
0_0_30572384_25282.cpp:22:17: error: 'q' was not declared in this scope
if (q[A].empty()) {
^
0_0_30572384_25282.cpp:23:33: error: 'printf' was not declared in this scope
printf("EMPTY\n");
^
0_0_30572384_25282.cpp:26:48: error: 'printf' was not declared in this scope
printf("%d\n", 30000-(B&0xFFFF));
^
|