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_20491703_14792\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_20491703_14792\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_20491703_14792\Main.java:2: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_20491703_14792\Main.java:6: 错误: 需要class, interface或enum
int row, column, enter;
^
0_0_20491703_14792\Main.java:7: 错误: 需要class, interface或enum
int visit[12][12];
^
0_0_20491703_14792\Main.java:8: 错误: 需要class, interface或enum
char a[12][12];
^
0_0_20491703_14792\Main.java:9: 错误: 需要class, interface或enum
int st[12][12];
^
0_0_20491703_14792\Main.java:11: 错误: 需要class, interface或enum
void dfs(int x, int y, int step)
^
0_0_20491703_14792\Main.java:15: 错误: 需要class, interface或enum
	else if(visit[x][y]==-1)
	^
0_0_20491703_14792\Main.java:18: 错误: 需要class, interface或enum
	else if(visit[x][y]==0)
	^
0_0_20491703_14792\Main.java:21: 错误: 需要class, interface或enum
		st[x][y]= step;
		^
0_0_20491703_14792\Main.java:23: 错误: 需要class, interface或enum
		if(a[x][y]=='W')	dfs(x,y-1,step+1);
		^
0_0_20491703_14792\Main.java:24: 错误: 需要class, interface或enum
		else if(a[x][y]=='E')	dfs(x,y+1,step+1);
		^
0_0_20491703_14792\Main.java:25: 错误: 需要class, interface或enum
		else if(a[x][y]=='N')	dfs(x-1,y,step+1);
		^
0_0_20491703_14792\Main.java:26: 错误: 需要class, interface或enum
		else	dfs(x+1,y,step+1);
		^
0_0_20491703_14792\Main.java:27: 错误: 需要class, interface或enum
	}
	^
0_0_20491703_14792\Main.java:37: 错误: 需要class, interface或enum
    	if(row==0&&column==0&&enter==0)	break;
    	^
0_0_20491703_14792\Main.java:39: 错误: 需要class, interface或enum
		for(int i=1;i<=row;i++)
		^
0_0_20491703_14792\Main.java:39: 错误: 需要class, interface或enum
		for(int i=1;i<=row;i++)
		            ^
0_0_20491703_14792\Main.java:39: 错误: 需要class, interface或enum
		for(int i=1;i<=row;i++)
		                   ^
0_0_20491703_14792\Main.java:41: 错误: 需要class, interface或enum
			for(int j=1;j<=column;j++)
			            ^
0_0_20491703_14792\Main.java:41: 错误: 需要class, interface或enum
			for(int j=1;j<=column;j++)
			                      ^
0_0_20491703_14792\Main.java:44: 错误: 需要class, interface或enum
					visit[i][j] = st[i][j] = 0;
					^
0_0_20491703_14792\Main.java:45: 错误: 需要class, interface或enum
				}
				^
0_0_20491703_14792\Main.java:47: 错误: 需要class, interface或enum
		}							
		^
0_0_20491703_14792\Main.java:50: 错误: 需要class, interface或enum
    }
    ^
0_0_20491703_14792\Main.java:53: 错误: 需要class, interface或enum
}
^
27 个错误


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-26 00:37:46, Gzip enabled