0_0_16571645_9365.cpp:8:1: error: expected ',' or ';' before 'int'
int miGong[DS][DS];
^
0_0_16571645_9365.cpp: In function 'bool bfs(int, int, int, int)':
0_0_16571645_9365.cpp:29:8: error: 'miGong' was not declared in this scope
if(miGong[startX][startY]!=miGong[endX][endY]) return false;
^
0_0_16571645_9365.cpp:30:8: error: 'miGong' was not declared in this scope
if(miGong[startX][startY]==miGong[endX][endY]&&miGong[endX][endY]==0)return false;
^
0_0_16571645_9365.cpp:49:16: error: 'miGong' was not declared in this scope
if(miGong[tx][ty]==0&&vis[tx][ty]==0)
^
0_0_16571645_9365.cpp: In function 'int main()':
0_0_16571645_9365.cpp:77:25: error: 'miGong' was not declared in this scope
scanf("%d",&miGong[i][j]);
^
|