0_0_13591213_8937.cpp: In function 'void bfs()':
0_0_13591213_8937.cpp:20:5: error: 'start' was not declared in this scope
start.dir=-1;
^
0_0_13591213_8937.cpp:30:19: error: 'std::end' does not have class type
if(pre.x==end.x&&pre.y==end.y)
^
0_0_13591213_8937.cpp:30:33: error: 'std::end' does not have class type
if(pre.x==end.x&&pre.y==end.y)
^
0_0_13591213_8937.cpp:46:42: error: 'std::end' does not have class type
if(g[cur.x][cur.y]&&!(cur.x==end.x&&cur.y==end.y))//g地图
^
0_0_13591213_8937.cpp:46:56: error: 'std::end' does not have class type
if(g[cur.x][cur.y]&&!(cur.x==end.x&&cur.y==end.y))//g地图
^
0_0_13591213_8937.cpp: In function 'int main()':
0_0_13591213_8937.cpp:74:31: error: 'start' was not declared in this scope
scanf("%d%d%d%d",&start.x,&start.y,&end.x,&end.y);//输入起点终点坐标
^
0_0_13591213_8937.cpp:74:49: error: 'std::end' does not have class type
scanf("%d%d%d%d",&start.x,&start.y,&end.x,&end.y);//输入起点终点坐标
^
0_0_13591213_8937.cpp:74:56: error: 'std::end' does not have class type
scanf("%d%d%d%d",&start.x,&start.y,&end.x,&end.y);//输入起点终点坐标
^
0_0_13591213_8937.cpp:76:25: error: 'std::end' does not have class type
if(start.x==end.x&&start.y==end.y)
^
0_0_13591213_8937.cpp:76:41: error: 'std::end' does not have class type
if(start.x==end.x&&start.y==end.y)
^
0_0_13591213_8937.cpp:81:41: error: 'std::end' does not have class type
if(!g[start.x][start.y]||!g[end.x][end.y]||!(g[start.x][start.y]==g[end.x][end.y]))
^
0_0_13591213_8937.cpp:81:48: error: 'std::end' does not have class type
if(!g[start.x][start.y]||!g[end.x][end.y]||!(g[start.x][start.y]==g[end.x][end.y]))
^
0_0_13591213_8937.cpp:81:81: error: 'std::end' does not have class type
if(!g[start.x][start.y]||!g[end.x][end.y]||!(g[start.x][start.y]==g[end.x][end.y]))
^
0_0_13591213_8937.cpp:81:88: error: 'std::end' does not have class type
if(!g[start.x][start.y]||!g[end.x][end.y]||!(g[start.x][start.y]==g[end.x][end.y]))
^
|