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_33247208_31894.cpp: In function 'void bfs()':
0_0_33247208_31894.cpp:33:3: error: 'tmp' was not declared in this scope
   tmp = que.top();
   ^
0_0_33247208_31894.cpp:36:19: error: 'ty' was not declared in this scope
   if (tx == ex && ty == ey)
                   ^
0_0_33247208_31894.cpp:41:4: error: 'ty' was not declared in this scope
    ty = tmp.y + dir[i][1];
    ^
0_0_33247208_31894.cpp:43:14: error: 'map' was not declared in this scope
     int d = (map[tmp.x][tmp.y]-'0');
              ^
0_0_33247208_31894.cpp: In function 'int main(int, const char**)':
0_0_33247208_31894.cpp:62:15: error: 'map' was not declared in this scope
    scanf("%s",map[i]);
               ^


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-06-16 06:30:49, Gzip enabled