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_16785636_21869.cpp: In function 'int main()':
0_0_16785636_21869.cpp:4:26: error: 'n' was not declared in this scope
     while(scanf("%d %d",&n,&m)!=EOF)
                          ^
0_0_16785636_21869.cpp:4:29: error: 'm' was not declared in this scope
     while(scanf("%d %d",&n,&m)!=EOF)
                             ^
0_0_16785636_21869.cpp:4:30: error: 'scanf' was not declared in this scope
     while(scanf("%d %d",&n,&m)!=EOF)
                              ^
0_0_16785636_21869.cpp:4:33: error: 'EOF' was not declared in this scope
     while(scanf("%d %d",&n,&m)!=EOF)
                                 ^
0_0_16785636_21869.cpp:10:17: error: 'cin' was not declared in this scope
                 cin>>s[i][j].data;
                 ^
0_0_16785636_21869.cpp:10:22: error: 's' was not declared in this scope
                 cin>>s[i][j].data;
                      ^
0_0_16785636_21869.cpp:13:30: error: 'INT_MAX' was not declared in this scope
                 s[i][j].time=INT_MAX;
                              ^
0_0_16785636_21869.cpp:16:23: error: 'BFS' was not declared in this scope
         int state=BFS();
                       ^
0_0_16785636_21869.cpp:19:54: error: 'printf' was not declared in this scope
             printf("God please help our poor hero.\n");
                                                      ^
0_0_16785636_21869.cpp:23:95: error: 's' was not declared in this scope
         printf("It takes %d seconds to reach the target position, let me show you the way.\n",s[n-1][m-1].time);
                                                                                               ^
0_0_16785636_21869.cpp:23:111: error: 'printf' was not declared in this scope
         printf("It takes %d seconds to reach the target position, let me show you the way.\n",s[n-1][m-1].time);
                                                                                                               ^
0_0_16785636_21869.cpp:24:26: error: 'printpath' was not declared in this scope
         printpath(n-1,m-1);
                          ^


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-10-02 03:33:08, Gzip enabled