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_37661124_16739.cpp:1:4: error: stray '#' in program
  1 #include<iostream>
    ^
0_0_37661124_16739.cpp:2:4: error: stray '#' in program
  2 #include <algorithm>
    ^
0_0_37661124_16739.cpp:3:4: error: stray '#' in program
  3 #include <stdio.h>
    ^
0_0_37661124_16739.cpp:4:4: error: stray '#' in program
  4 #include <string.h>
    ^
0_0_37661124_16739.cpp:5:4: error: stray '#' in program
  5 #include<queue>
    ^
0_0_37661124_16739.cpp:6:4: error: stray '#' in program
  6 #define MAX 100001
    ^
0_0_37661124_16739.cpp:1:2: error: expected unqualified-id before numeric constant
  1 #include<iostream>
  ^
0_0_37661124_16739.cpp:8:2: error: expected unqualified-id before numeric constant
  8 queue<int> q;//使用前需定义一个queue变量,且定义时已经初始化
  ^
0_0_37661124_16739.cpp:9:2: error: expected unqualified-id before numeric constant
  9 bool visit[MAX];//访问空间
  ^
0_0_37661124_16739.cpp:10:1: error: expected unqualified-id before numeric constant
 10 int step[MAX];       //记录步数的数组不能少
 ^
0_0_37661124_16739.cpp:11:1: error: expected unqualified-id before numeric constant
 11 bool bound(int num)//定义边界函数
 ^
0_0_37661124_16739.cpp:17:1: error: expected unqualified-id before numeric constant
 17 int BFS(int st,int end)
 ^


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-16 23:43:03, Gzip enabled