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_34746230_6633.cpp: In function 'bool bfs()':
0_0_34746230_6633.cpp:42:5: error: 'queue' was not declared in this scope
     queue<Node> q;
     ^
0_0_34746230_6633.cpp:42:15: error: expected primary-expression before '>' token
     queue<Node> q;
               ^
0_0_34746230_6633.cpp:42:17: error: 'q' was not declared in this scope
     queue<Node> q;
                 ^
0_0_34746230_6633.cpp:50:34: error: 'printf' was not declared in this scope
             printf("%d\n", p.step);
                                  ^
0_0_34746230_6633.cpp: In function 'int main()':
0_0_34746230_6633.cpp:66:19: error: 'scanf' was not declared in this scope
     scanf("%d", &T);
                   ^
0_0_34746230_6633.cpp:73:63: error: 'max' was not declared in this scope
             d = max(d, sqr(order[i][0]) + sqr(order[i][1])*1.0);
                                                               ^
0_0_34746230_6633.cpp:77:38: error: 'memset' was not declared in this scope
         memset(head, -1, sizeof(head));
                                      ^
0_0_34746230_6633.cpp:79:34: error: 'printf' was not declared in this scope
             printf("IMPOSSIBLE\n");
                                  ^


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-26 22:03:18, Gzip enabled