F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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]))
                                                                                        ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-25 08:27:49, Gzip enabled