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_15704830_13441.cpp:1:4: error: stray '#' in program
 01.#include <iostream>  
    ^
0_0_15704830_13441.cpp:2:4: error: stray '#' in program
 02.#include <queue>  
    ^
0_0_15704830_13441.cpp:3:4: error: stray '#' in program
 03.#include <string.h>  
    ^
0_0_15704830_13441.cpp:1:1: error: expected unqualified-id before numeric constant
 01.#include <iostream>  
 ^
0_0_15704830_13441.cpp:5:1: error: expected unqualified-id before numeric constant
 05.typedef struct{  
 ^
0_0_15704830_13441.cpp:7:5: error: 'coordinate' does not name a type
 07.}coordinate;  
     ^
0_0_15704830_13441.cpp:8:1: error: expected unqualified-id before numeric constant
 08.int n,m;                               //表示迷宫的规格  
 ^
0_0_15704830_13441.cpp:9:1: error: expected unqualified-id before numeric constant
 09.int labyrinth[10][10],mark[10][10];   //labyrinth表示地图,mark标记访问的点  
 ^
0_0_15704830_13441.cpp:10:1: error: expected unqualified-id before numeric constant
 10.const int dx[4]={0,0,1,-1},dy[4]={1,-1,0,0}; //位移参量  
 ^
0_0_15704830_13441.cpp:10:30: error: expected unqualified-id before ',' token
 10.const int dx[4]={0,0,1,-1},dy[4]={1,-1,0,0}; //位移参量  
                              ^
0_0_15704830_13441.cpp:10:36: error: expected constructor, destructor, or type conversion before '=' token
 10.const int dx[4]={0,0,1,-1},dy[4]={1,-1,0,0}; //位移参量  
                                    ^
0_0_15704830_13441.cpp:11:1: error: expected unqualified-id before numeric constant
 11.coordinate start;  
 ^
0_0_15704830_13441.cpp:12:1: error: expected unqualified-id before numeric constant
 12.queue<coordinate>Q;  
 ^
0_0_15704830_13441.cpp:13:1: error: expected unqualified-id before numeric constant
 13.void Init(){  
 ^
0_0_15704830_13441.cpp:17:1: error: expected unqualified-id before numeric constant
 17.bool Inborder(int x,int y){        //判断是否出界  
 ^
0_0_15704830_13441.cpp:22:1: error: expected unqualified-id before numeric constant
 22.void BFS(){  
 ^


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-12-02 18:11:38, Gzip enabled