0_0_18067976_4587.cpp:9:1: error: expected initializer before 'int'
int r, c, mark[200][200][20], xx, yy;
^
0_0_18067976_4587.cpp: In function 'int main()':
0_0_18067976_4587.cpp:22:29: error: 'r' was not declared in this scope
while (~scanf("%d %d", &r, &c))
^
0_0_18067976_4587.cpp:22:33: error: 'c' was not declared in this scope
while (~scanf("%d %d", &r, &c))
^
0_0_18067976_4587.cpp:27:16: error: 'map' was not declared in this scope
memset(map, '#', sizeof(map));
^
0_0_18067976_4587.cpp:28:16: error: 'mark' was not declared in this scope
memset(mark, 0, sizeof(mark));
^
0_0_18067976_4587.cpp:37:21: error: 'xx' was not declared in this scope
xx = i;
^
0_0_18067976_4587.cpp:38:21: error: 'yy' was not declared in this scope
yy = j;
^
0_0_18067976_4587.cpp: In function 'int bfs()':
0_0_18067976_4587.cpp:60:17: error: 'xx' was not declared in this scope
q[tail].x = xx;
^
0_0_18067976_4587.cpp:61:17: error: 'yy' was not declared in this scope
q[tail].y = yy;
^
0_0_18067976_4587.cpp:77:17: error: 'mark' was not declared in this scope
if (mark[ttx][tty][ttkey] == 1)
^
0_0_18067976_4587.cpp:79:13: error: 'mark' was not declared in this scope
mark[ttx][tty][ttkey] = 1;
^
0_0_18067976_4587.cpp:80:17: error: 'map' was not declared in this scope
if (map[ttx][tty] == '#')
^
0_0_18067976_4587.cpp:82:17: error: 'map' was not declared in this scope
if (map[ttx][tty] == 'X')
^
0_0_18067976_4587.cpp:84:17: error: 'map' was not declared in this scope
if (map[ttx][tty] == 'B')
^
|