0_0_35320318_6729.cpp: In function 'void bfs()':
0_0_35320318_6729.cpp:26:21: error: 'd' was not declared in this scope
int nx = tmp.x + d x[i], ny = tmp.y + dy[i], nn = tmp.num;
^
0_0_35320318_6729.cpp:27:29: error: 'ny' was not declared in this scope
if(nx >= 1 && nx <= n && ny >= 1 && ny <= m && !a[nx][ny]) {
^
0_0_35320318_6729.cpp:28:37: error: 'nn' was not declared in this scope
if(tmp.td != -1 && tmp.td != i) nn++;
^
0_0_35320318_6729.cpp:29:44: error: 'nn' was not declared in this scope
if(vis[nx][ny] == -1 || vis[nx][ny] >= nn) {
^
|