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