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_22024840_24937.cpp: In function 'bool bfs()':
0_0_22024840_24937.cpp:43:5: error: 'queue' was not declared in this scope
     queue<node> q;
     ^
0_0_22024840_24937.cpp:43:15: error: expected primary-expression before '>' token
     queue<node> q;
               ^
0_0_22024840_24937.cpp:43:17: error: 'q' was not declared in this scope
     queue<node> q;
                 ^
0_0_22024840_24937.cpp: In function 'int main()':
0_0_22024840_24937.cpp:117:30: error: 'memset' was not declared in this scope
     memset(vis,-1,sizeof(vis));
                              ^
0_0_22024840_24937.cpp:120:24: error: 'scanf' was not declared in this scope
     while(scanf("%s",ss)!=EOF)
                        ^
0_0_22024840_24937.cpp:120:27: error: 'EOF' was not declared in this scope
     while(scanf("%s",ss)!=EOF)
                           ^
0_0_22024840_24937.cpp:130:44: error: 'printf' was not declared in this scope
                 if(res[t].now==1)printf("d");
                                            ^
0_0_22024840_24937.cpp:131:44: error: 'printf' was not declared in this scope
                 if(res[t].now==2)printf("u");
                                            ^
0_0_22024840_24937.cpp:132:44: error: 'printf' was not declared in this scope
                 if(res[t].now==3)printf("r");
                                            ^
0_0_22024840_24937.cpp:133:44: error: 'printf' was not declared in this scope
                 if(res[t].now==4)printf("l");
                                            ^
0_0_22024840_24937.cpp:138:32: error: 'printf' was not declared in this scope
             printf("unsolvable");
                                ^
0_0_22024840_24937.cpp:139:20: error: 'printf' was not declared in this scope
         printf("\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-09-28 18:21:19, Gzip enabled