0_0_33274265_31692\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_33274265_31692\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_33274265_31692\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_33274265_31692\Main.java:5: 错误: 非法字符: '#'
#include <iostream>
^
0_0_33274265_31692\Main.java:7: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_33274265_31692\Main.java:9: 错误: 非法字符: '#'
#include <queue>
^
0_0_33274265_31692\Main.java:13: 错误: 需要class, interface或enum
const int maxn = 26;
^
0_0_33274265_31692\Main.java:15: 错误: 需要class, interface或enum
int xx[4] = {-1,0,1,0};
^
0_0_33274265_31692\Main.java:17: 错误: 需要class, interface或enum
int yy[4] = {0,1,0,-1};
^
0_0_33274265_31692\Main.java:19: 错误: 需要class, interface或enum
int vis[5][maxn][maxn];
^
0_0_33274265_31692\Main.java:21: 错误: 需要class, interface或enum
char mm[maxn][maxn];
^
0_0_33274265_31692\Main.java:23: 错误: 需要class, interface或enum
int n, m;
^
0_0_33274265_31692\Main.java:25: 错误: 需要class, interface或enum
int x1, y1;//起点
^
0_0_33274265_31692\Main.java:27: 错误: 需要class, interface或enum
int x2, y2;//终点
^
0_0_33274265_31692\Main.java:29: 错误: 需要class, interface或enum
struct node
^
0_0_33274265_31692\Main.java:35: 错误: 需要class, interface或enum
int y;
^
0_0_33274265_31692\Main.java:37: 错误: 需要class, interface或enum
int step;
^
0_0_33274265_31692\Main.java:39: 错误: 需要class, interface或enum
int dir;//标记方向
^
0_0_33274265_31692\Main.java:41: 错误: 需要class, interface或enum
};
^
0_0_33274265_31692\Main.java:43: 错误: 需要class, interface或enum
int judge(int a, int b)
^
0_0_33274265_31692\Main.java:51: 错误: 需要class, interface或enum
return 0;
^
0_0_33274265_31692\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_33274265_31692\Main.java:61: 错误: 需要class, interface或enum
node frontt, next;
^
0_0_33274265_31692\Main.java:63: 错误: 需要class, interface或enum
queue<node>p,q;
^
0_0_33274265_31692\Main.java:65: 错误: 需要class, interface或enum
int tx, ty;
^
0_0_33274265_31692\Main.java:67: 错误: 需要class, interface或enum
for(int i = 0; i < 4; i++)
^
0_0_33274265_31692\Main.java:67: 错误: 需要class, interface或enum
for(int i = 0; i < 4; i++)
^
0_0_33274265_31692\Main.java:67: 错误: 需要class, interface或enum
for(int i = 0; i < 4; i++)
^
0_0_33274265_31692\Main.java:73: 错误: 需要class, interface或enum
ty = y1 + yy[i];
^
0_0_33274265_31692\Main.java:75: 错误: 需要class, interface或enum
if(mm[tx][ty] != 'X')
^
0_0_33274265_31692\Main.java:81: 错误: 需要class, interface或enum
frontt.y = ty;
^
0_0_33274265_31692\Main.java:83: 错误: 需要class, interface或enum
frontt.step = 0;
^
0_0_33274265_31692\Main.java:85: 错误: 需要class, interface或enum
frontt.dir = i;
^
0_0_33274265_31692\Main.java:87: 错误: 需要class, interface或enum
q.push(frontt);
^
0_0_33274265_31692\Main.java:89: 错误: 需要class, interface或enum
vis[i][tx][ty] = 1;
^
0_0_33274265_31692\Main.java:91: 错误: 需要class, interface或enum
}
^
0_0_33274265_31692\Main.java:101: 错误: 需要class, interface或enum
q.pop();
^
0_0_33274265_31692\Main.java:103: 错误: 需要class, interface或enum
if(frontt.x == x2 && frontt.y == y2)
^
0_0_33274265_31692\Main.java:109: 错误: 需要class, interface或enum
}
^
0_0_33274265_31692\Main.java:111: 错误: 需要class, interface或enum
for(int i = 1; i <= 2; i++)
^
0_0_33274265_31692\Main.java:111: 错误: 需要class, interface或enum
for(int i = 1; i <= 2; i++)
^
0_0_33274265_31692\Main.java:121: 错误: 需要class, interface或enum
}
^
0_0_33274265_31692\Main.java:129: 错误: 需要class, interface或enum
}
^
0_0_33274265_31692\Main.java:133: 错误: 需要class, interface或enum
ty = frontt.y + yy[next.dir];
^
0_0_33274265_31692\Main.java:135: 错误: 需要class, interface或enum
next.step = frontt.step+1;
^
0_0_33274265_31692\Main.java:137: 错误: 需要class, interface或enum
if(mm[tx][ty]!='X' && judge(tx,ty) && (next.step<vis[next.dir][tx][ty] || vis[next.dir][tx][ty]==-1))
^
0_0_33274265_31692\Main.java:143: 错误: 需要class, interface或enum
next.y = ty;
^
0_0_33274265_31692\Main.java:145: 错误: 需要class, interface或enum
vis[next.dir][tx][ty] = next.step;
^
0_0_33274265_31692\Main.java:147: 错误: 需要class, interface或enum
q.push(next);
^
0_0_33274265_31692\Main.java:149: 错误: 需要class, interface或enum
}
^
0_0_33274265_31692\Main.java:161: 错误: 非法字符: '#'
#define ONLINE_JUDGE
^
0_0_33274265_31692\Main.java:163: 错误: 非法字符: '#'
#ifndef ONLINE_JUDGE
^
0_0_33274265_31692\Main.java:167: 错误: 需要class, interface或enum
freopen("out.txt", "w", stdout);
^
0_0_33274265_31692\Main.java:169: 错误: 非法字符: '#'
#endif
^
0_0_33274265_31692\Main.java:171: 错误: 需要class, interface或enum
int t;
^
0_0_33274265_31692\Main.java:173: 错误: 需要class, interface或enum
scanf("%d",&t);
^
0_0_33274265_31692\Main.java:175: 错误: 需要class, interface或enum
while(t--)
^
0_0_33274265_31692\Main.java:181: 错误: 需要class, interface或enum
getchar();
^
0_0_33274265_31692\Main.java:183: 错误: 需要class, interface或enum
for(int i = 0; i < n; i++)
^
0_0_33274265_31692\Main.java:183: 错误: 需要class, interface或enum
for(int i = 0; i < n; i++)
^
0_0_33274265_31692\Main.java:183: 错误: 需要class, interface或enum
for(int i = 0; i < n; i++)
^
0_0_33274265_31692\Main.java:189: 错误: 需要class, interface或enum
}
^
0_0_33274265_31692\Main.java:191: 错误: 需要class, interface或enum
for(int i = 0; i < n; i++)
^
0_0_33274265_31692\Main.java:191: 错误: 需要class, interface或enum
for(int i = 0; i < n; i++)
^
0_0_33274265_31692\Main.java:195: 错误: 需要class, interface或enum
for(int j = 0; j < m; j++)
^
0_0_33274265_31692\Main.java:195: 错误: 需要class, interface或enum
for(int j = 0; j < m; j++)
^
0_0_33274265_31692\Main.java:205: 错误: 需要class, interface或enum
y1 = j;
^
0_0_33274265_31692\Main.java:207: 错误: 需要class, interface或enum
}
^
0_0_33274265_31692\Main.java:215: 错误: 需要class, interface或enum
y2 = j;
^
0_0_33274265_31692\Main.java:217: 错误: 需要class, interface或enum
}
^
0_0_33274265_31692\Main.java:225: 错误: 需要class, interface或enum
printf("%d\n",ans);
^
0_0_33274265_31692\Main.java:227: 错误: 需要class, interface或enum
}
^
0_0_33274265_31692\Main.java:231: 错误: 需要class, interface或enum
}
^
73 个错误
|