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