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_36157744_12739\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_36157744_12739\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_36157744_12739\Main.java:3: 错误: 需要class, interface或enum
const int MAX = 1000;
^
0_0_36157744_12739\Main.java:4: 错误: 需要class, interface或enum
char arr[MAX][MAX]; //地图数组
^
0_0_36157744_12739\Main.java:5: 错误: 需要class, interface或enum
int track[MAX][MAX]; //路径数组,保存地图上某点已经走过的次数
^
0_0_36157744_12739\Main.java:7: 错误: 需要class, interface或enum
int main()
^
0_0_36157744_12739\Main.java:10: 错误: 需要class, interface或enum
	while (cin >> row >> column >> num)
	^
0_0_36157744_12739\Main.java:15: 错误: 需要class, interface或enum
		for (int i = 1; i <= row; i++)
		^
0_0_36157744_12739\Main.java:15: 错误: 需要class, interface或enum
		for (int i = 1; i <= row; i++)
		                ^
0_0_36157744_12739\Main.java:15: 错误: 需要class, interface或enum
		for (int i = 1; i <= row; i++)
		                          ^
0_0_36157744_12739\Main.java:17: 错误: 需要class, interface或enum
			for (int j = 1; j <= column; j++)
			                ^
0_0_36157744_12739\Main.java:17: 错误: 需要class, interface或enum
			for (int j = 1; j <= column; j++)
			                             ^
0_0_36157744_12739\Main.java:19: 错误: 需要class, interface或enum
		}
		^
0_0_36157744_12739\Main.java:22: 错误: 需要class, interface或enum
		char ins;
		^
0_0_36157744_12739\Main.java:23: 错误: 需要class, interface或enum
		int step = 0, loop = 0;
		^
0_0_36157744_12739\Main.java:24: 错误: 需要class, interface或enum
		int i = 1, j = num;
		^
0_0_36157744_12739\Main.java:25: 错误: 需要class, interface或enum
		while (i > 0 && i <= row && j > 0 && j <= column)
		^
0_0_36157744_12739\Main.java:29: 错误: 需要class, interface或enum
			if (track[i][j] == 1) //如果某点已经路过1次,则开始第一圈循环
			^
0_0_36157744_12739\Main.java:32: 错误: 需要class, interface或enum
				++loop;
				^
0_0_36157744_12739\Main.java:33: 错误: 需要class, interface或enum
				--step;
				^
0_0_36157744_12739\Main.java:34: 错误: 需要class, interface或enum
				ins = arr[i][j];
				^
0_0_36157744_12739\Main.java:35: 错误: 需要class, interface或enum
				switch (ins)
				^
0_0_36157744_12739\Main.java:39: 错误: 需要class, interface或enum
					break;
					^
0_0_36157744_12739\Main.java:40: 错误: 需要class, interface或enum
				case 'W':
				^
0_0_36157744_12739\Main.java:42: 错误: 需要class, interface或enum
					break;
					^
0_0_36157744_12739\Main.java:43: 错误: 需要class, interface或enum
				case 'S':
				^
0_0_36157744_12739\Main.java:45: 错误: 需要class, interface或enum
					break;
					^
0_0_36157744_12739\Main.java:46: 错误: 需要class, interface或enum
				case 'E':
				^
0_0_36157744_12739\Main.java:48: 错误: 需要class, interface或enum
					break;
					^
0_0_36157744_12739\Main.java:49: 错误: 需要class, interface或enum
				}
				^
0_0_36157744_12739\Main.java:54: 错误: 需要class, interface或enum
				track[i][j] = 1;
				^
0_0_36157744_12739\Main.java:55: 错误: 需要class, interface或enum
				ins = arr[i][j];
				^
0_0_36157744_12739\Main.java:56: 错误: 需要class, interface或enum
				switch (ins)
				^
0_0_36157744_12739\Main.java:60: 错误: 需要class, interface或enum
					break;
					^
0_0_36157744_12739\Main.java:61: 错误: 需要class, interface或enum
				case 'W':
				^
0_0_36157744_12739\Main.java:63: 错误: 需要class, interface或enum
					break;
					^
0_0_36157744_12739\Main.java:64: 错误: 需要class, interface或enum
				case 'S':
				^
0_0_36157744_12739\Main.java:66: 错误: 需要class, interface或enum
					break;
					^
0_0_36157744_12739\Main.java:67: 错误: 需要class, interface或enum
				case 'E':
				^
0_0_36157744_12739\Main.java:69: 错误: 需要class, interface或enum
					break;
					^
0_0_36157744_12739\Main.java:70: 错误: 需要class, interface或enum
				}
				^
0_0_36157744_12739\Main.java:75: 错误: 需要class, interface或enum
		else
		^
0_0_36157744_12739\Main.java:77: 错误: 需要class, interface或enum
	}
	^
0_0_36157744_12739\Main.java:80: 错误: 需要class, interface或enum
}
^
44 个错误


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.015600(s) query 1, Server time : 2024-12-12 23:25:27, Gzip enabled