F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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));
                                                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-20 12:38:42, Gzip enabled