0_0_23118610_32159.c:6:6: error: variably modified 'map' at file scope
char map[maxn][maxn];
^
0_0_23118610_32159.c:6:6: error: variably modified 'map' at file scope
0_0_23118610_32159.c:7:5: error: variably modified 'visited' at file scope
int visited[maxn][maxn];
^
0_0_23118610_32159.c:7:5: error: variably modified 'visited' at file scope
0_0_23118610_32159.c: In function 'dfs':
0_0_23118610_32159.c:14:14: error: 'ex' undeclared (first use in this function)
if (x == ex && y == ey)
^
0_0_23118610_32159.c:14:14: note: each undeclared identifier is reported only once for each function it appears in
0_0_23118610_32159.c:14:25: error: 'ey' undeclared (first use in this function)
if (x == ex && y == ey)
^
0_0_23118610_32159.c: In function 'main':
0_0_23118610_32159.c:54:17: error: 'else' without a previous 'if'
else visited[i][j] = 0;
^
|