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