0_0_21201409_21072.c:1:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstdio>
^
0_0_21201409_21072.c:2:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstdlib>
^
0_0_21201409_21072.c:3:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstring>
^
0_0_21201409_21072.c:4:9: error: #include expects "FILENAME" or <FILENAME>
#include <cmath>
^
0_0_21201409_21072.c:5:9: error: #include expects "FILENAME" or <FILENAME>
#include <queue>
^
0_0_21201409_21072.c:6:9: error: #include expects "FILENAME" or <FILENAME>
#include <climits>
^
0_0_21201409_21072.c:7:1: error: expected identifier or '(' before '&' token
^
0_0_21201409_21072.c:7:7: error: expected identifier or '(' before '&' token
^
0_0_21201409_21072.c:8:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
using namespace std;
^
0_0_21201409_21072.c:8:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
using namespace std;
^
0_0_21201409_21072.c:8:31: error: expected identifier or '(' before '&' token
using namespace std;
^
0_0_21201409_21072.c:8:37: error: expected identifier or '(' before '&' token
using namespace std;
^
0_0_21201409_21072.c:9:1: error: expected identifier or '(' before '&' token
^
0_0_21201409_21072.c:9:7: error: expected identifier or '(' before '&' token
^
0_0_21201409_21072.c:10:6: error: expected identifier or '(' before '&' token
const int MAX = 1003;
^
0_0_21201409_21072.c:10:15: error: expected identifier or '(' before '&' token
const int MAX = 1003;
^
0_0_21201409_21072.c:10:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
const int MAX = 1003;
^
0_0_21201409_21072.c:10:30: error: expected identifier or '(' before '=' token
const int MAX = 1003;
^
0_0_21201409_21072.c:10:37: error: expected identifier or '(' before numeric constant
const int MAX = 1003;
^
0_0_21201409_21072.c:10:42: error: expected identifier or '(' before '&' token
const int MAX = 1003;
^
0_0_21201409_21072.c:10:48: error: expected identifier or '(' before '&' token
const int MAX = 1003;
^
0_0_21201409_21072.c:11:6: error: expected identifier or '(' before '&' token
const int dirx[5] = {0,0,1,0,-1};
^
0_0_21201409_21072.c:11:15: error: expected identifier or '(' before '&' token
const int dirx[5] = {0,0,1,0,-1};
^
0_0_21201409_21072.c:11:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
const int dirx[5] = {0,0,1,0,-1};
^
0_0_21201409_21072.c:11:34: error: expected identifier or '(' before '=' token
const int dirx[5] = {0,0,1,0,-1};
^
0_0_21201409_21072.c:11:41: error: expected identifier or '(' before '{' token
const int dirx[5] = {0,0,1,0,-1};
^
0_0_21201409_21072.c:11:54: error: expected identifier or '(' before '&' token
const int dirx[5] = {0,0,1,0,-1};
^
0_0_21201409_21072.c:11:60: error: expected identifier or '(' before '&' token
const int dirx[5] = {0,0,1,0,-1};
^
0_0_21201409_21072.c:12:6: error: expected identifier or '(' before '&' token
const int diry[5] = {0,1,0,-1,0};
^
0_0_21201409_21072.c:12:15: error: expected identifier or '(' before '&' token
const int diry[5] = {0,1,0,-1,0};
^
0_0_21201409_21072.c:12:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
const int diry[5] = {0,1,0,-1,0};
^
0_0_21201409_21072.c:12:34: error: expected identifier or '(' before '=' token
const int diry[5] = {0,1,0,-1,0};
^
0_0_21201409_21072.c:12:41: error: expected identifier or '(' before '{' token
const int diry[5] = {0,1,0,-1,0};
^
0_0_21201409_21072.c:12:54: error: expected identifier or '(' before '&' token
const int diry[5] = {0,1,0,-1,0};
^
0_0_21201409_21072.c:12:60: error: expected identifier or '(' before '&' token
const int diry[5] = {0,1,0,-1,0};
^
0_0_21201409_21072.c:13:1: error: expected identifier or '(' before '&' token
^
0_0_21201409_21072.c:13:7: error: expected identifier or '(' before '&' token
^
0_0_21201409_21072.c:14:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
bool visit[MAX][MAX];
^
0_0_21201409_21072.c:14:17: error: 'MAX' undeclared here (not in a function)
bool visit[MAX][MAX];
^
0_0_21201409_21072.c:14:27: error: expected identifier or '(' before '&' token
bool visit[MAX][MAX];
^
0_0_21201409_21072.c:14:33: error: expected identifier or '(' before '&' token
bool visit[MAX][MAX];
^
0_0_21201409_21072.c:15:4: error: expected identifier or '(' before '&' token
int map[MAX][MAX];
^
0_0_21201409_21072.c:15:24: error: expected identifier or '(' before '&' token
int map[MAX][MAX];
^
0_0_21201409_21072.c:15:30: error: expected identifier or '(' before '&' token
int map[MAX][MAX];
^
0_0_21201409_21072.c:16:4: error: expected identifier or '(' before '&' token
int wan[MAX][MAX];
^
0_0_21201409_21072.c:16:24: error: expected identifier or '(' before '&' token
int wan[MAX][MAX];
^
0_0_21201409_21072.c:16:30: error: expected identifier or '(' before '&' token
int wan[MAX][MAX];
^
0_0_21201409_21072.c:17:4: error: expected identifier or '(' before '&' token
int n,m,bx,by;
^
0_0_21201409_21072.c:17:20: error: expected identifier or '(' before '&' token
int n,m,bx,by;
^
0_0_21201409_21072.c:17:26: error: expected identifier or '(' before '&' token
int n,m,bx,by;
^
0_0_21201409_21072.c:18:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
bool mark;
^
0_0_21201409_21072.c:18:16: error: expected identifier or '(' before '&' token
bool mark;
^
0_0_21201409_21072.c:18:22: error: expected identifier or '(' before '&' token
bool mark;
^
0_0_21201409_21072.c:19:1: error: expected identifier or '(' before '&' token
^
0_0_21201409_21072.c:19:7: error: expected identifier or '(' before '&' token
^
0_0_21201409_21072.c:20:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
bool yes(int x,int y,int dir){
^
0_0_21201409_21072.c:20:18: error: expected ';', ',' or ')' before '&' token
bool yes(int x,int y,int dir){
^
0_0_21201409_21072.c:27:2: error: expected identifier or '(' before '&' token
}
^
0_0_21201409_21072.c:27:8: error: expected identifier or '(' before '&' token
}
^
0_0_21201409_21072.c:28:1: error: expected identifier or '(' before '&' token
^
0_0_21201409_21072.c:28:7: error: expected identifier or '(' before '&' token
^
0_0_21201409_21072.c:29:5: error: expected identifier or '(' before '&' token
void dfs(int x,int y,int cnt,int dir){
^
0_0_21201409_21072.c:29:18: error: expected ';', ',' or ')' before '&' token
void dfs(int x,int y,int cnt,int dir){
^
0_0_21201409_21072.c:33:1: error: stray '\327' in program
//注意下面几个剪枝的顺序,顺序搞错了就会出错,因为最后一个元素非0
^
0_0_21201409_21072.c:33:1: error: stray '\242' in program
0_0_21201409_21072.c:33:1: error: stray '\322' in program
0_0_21201409_21072.c:33:1: error: stray '\342' in progr
|