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_14571168_30624.cpp: In function 'void BFS(node)':
0_0_14571168_30624.cpp:22:39: error: 'memset' was not declared in this scope
     memset(visited, 0, sizeof(visited));
                                       ^
0_0_14571168_30624.cpp:23:5: error: 'queue' was not declared in this scope
     queue<node> Q;
     ^
0_0_14571168_30624.cpp:23:15: error: expected primary-expression before '>' token
     queue<node> Q;
               ^
0_0_14571168_30624.cpp:23:17: error: 'Q' was not declared in this scope
     queue<node> Q;
                 ^
0_0_14571168_30624.cpp: In function 'int main()':
0_0_14571168_30624.cpp:49:50: error: 'scanf' was not declared in this scope
     while(~scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&f)){
                                                  ^
0_0_14571168_30624.cpp:57:49: error: 'printf' was not declared in this scope
         printf("Case %d: %d\n",k++,cnt[M.x][M.y]);
                                                 ^


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-17 09:36:13, Gzip enabled