0_0_39070891_4016\Main.java:1: 错误: 非法字符: '#'
#include<string.h>
^
0_0_39070891_4016\Main.java:1: 错误: 需要class, interface或enum
#include<string.h>
^
0_0_39070891_4016\Main.java:2: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_39070891_4016\Main.java:3: 错误: 非法字符: '#'
#include<iostream>
^
0_0_39070891_4016\Main.java:4: 错误: 非法字符: '#'
#include<stdlib.h>
^
0_0_39070891_4016\Main.java:6: 错误: 需要class, interface或enum
char maze[7][7];
^
0_0_39070891_4016\Main.java:7: 错误: 需要class, interface或enum
int direct[4][2]={{0,1},{0,-1},{1,0},{-1,0}};
^
0_0_39070891_4016\Main.java:8: 错误: 需要class, interface或enum
int n,m,t,dx,dy;
^
0_0_39070891_4016\Main.java:9: 错误: 需要class, interface或enum
bool flag;
^
0_0_39070891_4016\Main.java:10: 错误: 需要class, interface或enum
void dfs(int x,int y,int step)
^
0_0_39070891_4016\Main.java:13: 错误: 需要class, interface或enum
if(x<=0||x>n||y<=0||y>m)
^
0_0_39070891_4016\Main.java:15: 错误: 需要class, interface或enum
if(x==dx&&y==dy&&step==t)
^
0_0_39070891_4016\Main.java:18: 错误: 需要class, interface或enum
return;
^
0_0_39070891_4016\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_39070891_4016\Main.java:21: 错误: 需要class, interface或enum
if(p<0||p&1)
^
0_0_39070891_4016\Main.java:23: 错误: 需要class, interface或enum
for(i=0;i<4;i++)
^
0_0_39070891_4016\Main.java:23: 错误: 需要class, interface或enum
for(i=0;i<4;i++)
^
0_0_39070891_4016\Main.java:23: 错误: 需要class, interface或enum
for(i=0;i<4;i++)
^
0_0_39070891_4016\Main.java:26: 错误: 需要class, interface或enum
y1=y+direct[i][1];
^
0_0_39070891_4016\Main.java:27: 错误: 需要class, interface或enum
if(maze[x1][y1]!='X')
^
0_0_39070891_4016\Main.java:30: 错误: 需要class, interface或enum
dfs(x1,y1,step+1);
^
0_0_39070891_4016\Main.java:31: 错误: 需要class, interface或enum
if(flag)
^
0_0_39070891_4016\Main.java:33: 错误: 需要class, interface或enum
maze[x1][y1]='.';
^
0_0_39070891_4016\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_39070891_4016\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_39070891_4016\Main.java:41: 错误: 需要class, interface或enum
while(scanf("%d%d%d",&n,&m,&t)&&(m+n+t))
^
0_0_39070891_4016\Main.java:44: 错误: 需要class, interface或enum
for(i=1;i<=n;i++)
^
0_0_39070891_4016\Main.java:44: 错误: 需要class, interface或enum
for(i=1;i<=n;i++)
^
0_0_39070891_4016\Main.java:44: 错误: 需要class, interface或enum
for(i=1;i<=n;i++)
^
0_0_39070891_4016\Main.java:46: 错误: 需要class, interface或enum
for(j=1;j<=m;j++)
^
0_0_39070891_4016\Main.java:46: 错误: 需要class, interface或enum
for(j=1;j<=m;j++)
^
0_0_39070891_4016\Main.java:49: 错误: 需要class, interface或enum
if(maze[i][j]=='S')
^
0_0_39070891_4016\Main.java:52: 错误: 需要class, interface或enum
sy=j;
^
0_0_39070891_4016\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_39070891_4016\Main.java:57: 错误: 需要class, interface或enum
dy=j;
^
0_0_39070891_4016\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_39070891_4016\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_39070891_4016\Main.java:64: 错误: 需要class, interface或enum
maze[sx][sy]='X';
^
0_0_39070891_4016\Main.java:65: 错误: 需要class, interface或enum
dfs(sx,sy,0);
^
0_0_39070891_4016\Main.java:66: 错误: 需要class, interface或enum
if(n*m-wall<=t)
^
0_0_39070891_4016\Main.java:69: 错误: 需要class, interface或enum
continue;
^
0_0_39070891_4016\Main.java:70: 错误: 需要class, interface或enum
}
^
0_0_39070891_4016\Main.java:73: 错误: 需要class, interface或enum
else
^
0_0_39070891_4016\Main.java:75: 错误: 需要class, interface或enum
}
^
0_0_39070891_4016\Main.java:77: 错误: 需要class, interface或enum
}
^
45 个错误
|