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_35036337_19912\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
0_0_35036337_19912\Main.java:2: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_35036337_19912\Main.java:3: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_35036337_19912\Main.java:4: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_35036337_19912\Main.java:5: 错误: 非法字符: '#'
#include<string>
^
0_0_35036337_19912\Main.java:6: 错误: 非法字符: '#'
#include<cstring>
^
0_0_35036337_19912\Main.java:7: 错误: 非法字符: '#'
#include<cmath>
^
0_0_35036337_19912\Main.java:8: 错误: 非法字符: '#'
#include<ctime>
^
0_0_35036337_19912\Main.java:9: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_35036337_19912\Main.java:10: 错误: 非法字符: '#'
#include<utility>
^
0_0_35036337_19912\Main.java:11: 错误: 非法字符: '#'
#include<stack>
^
0_0_35036337_19912\Main.java:12: 错误: 非法字符: '#'
#include<queue>
^
0_0_35036337_19912\Main.java:13: 错误: 非法字符: '#'
#include<vector>
^
0_0_35036337_19912\Main.java:14: 错误: 非法字符: '#'
#include<set>
^
0_0_35036337_19912\Main.java:15: 错误: 非法字符: '#'
#include<unordered_set>
^
0_0_35036337_19912\Main.java:16: 错误: 非法字符: '#'
#include<map>
^
0_0_35036337_19912\Main.java:17: 错误: 非法字符: '#'
#include<unordered_map>
^
0_0_35036337_19912\Main.java:20: 错误: 非法字符: '#'
#define maxn 500
^
0_0_35036337_19912\Main.java:20: 错误: 需要class, interface或enum
#define maxn 500
        ^
0_0_35036337_19912\Main.java:21: 错误: 非法字符: '#'
#define inf  1000000000
^
0_0_35036337_19912\Main.java:22: 错误: 非法字符: '#'
#define eps  1e-05
^
0_0_35036337_19912\Main.java:25: 错误: 需要class, interface或enum
char step[10000];
^
0_0_35036337_19912\Main.java:26: 错误: 需要class, interface或enum
char ans[10000];
^
0_0_35036337_19912\Main.java:27: 错误: 需要class, interface或enum
int dir[4][2] = {{-1, 0}, {0, 1}, {0, -1}, {1, 0}};
^
0_0_35036337_19912\Main.java:28: 错误: 需要class, interface或enum
const char *path = "urld";
^
0_0_35036337_19912\Main.java:29: 错误: 需要class, interface或enum
int mat[3][3];
^
0_0_35036337_19912\Main.java:30: 错误: 需要class, interface或enum
int fin[3][3];
^
0_0_35036337_19912\Main.java:32: 错误: 需要class, interface或enum
int h() {
^
0_0_35036337_19912\Main.java:34: 错误: 需要class, interface或enum
	for(int i = 0; i < 3; i++) {
	^
0_0_35036337_19912\Main.java:34: 错误: 需要class, interface或enum
	for(int i = 0; i < 3; i++) {
	               ^
0_0_35036337_19912\Main.java:34: 错误: 需要class, interface或enum
	for(int i = 0; i < 3; i++) {
	                      ^
0_0_35036337_19912\Main.java:35: 错误: 需要class, interface或enum
		for(int j = 0; j < 3; j++) {
		               ^
0_0_35036337_19912\Main.java:35: 错误: 需要class, interface或enum
		for(int j = 0; j < 3; j++) {
		                      ^
0_0_35036337_19912\Main.java:37: 错误: 需要class, interface或enum
			count += abs(pos[mat[i][j]] / 3 - i);
			^
0_0_35036337_19912\Main.java:38: 错误: 需要class, interface或enum
			count += abs(pos[mat[i][j]] % 3 - j);
			^
0_0_35036337_19912\Main.java:39: 错误: 需要class, interface或enum
		}
		^
0_0_35036337_19912\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_35036337_19912\Main.java:46: 错误: 需要class, interface或enum
	if(hscore == 0) {
	^
0_0_35036337_19912\Main.java:48: 错误: 需要class, interface或enum
		for(int i = 0; i < depth; i++) {
		^
0_0_35036337_19912\Main.java:48: 错误: 需要class, interface或enum
		for(int i = 0; i < depth; i++) {
		               ^
0_0_35036337_19912\Main.java:48: 错误: 需要class, interface或enum
		for(int i = 0; i < depth; i++) {
		                          ^
0_0_35036337_19912\Main.java:49: 错误: 需要class, interface或enum
			if(step[i] < ans[i]) { less = true; break; }
			                                    ^
0_0_35036337_19912\Main.java:49: 错误: 需要class, interface或enum
			if(step[i] < ans[i]) { less = true; break; }
			                                           ^
0_0_35036337_19912\Main.java:52: 错误: 需要class, interface或enum
			for(int i = 0; i < depth; i++) ans[i] = step[i];
			               ^
0_0_35036337_19912\Main.java:52: 错误: 需要class, interface或enum
			for(int i = 0; i < depth; i++) ans[i] = step[i];
			                          ^
0_0_35036337_19912\Main.java:53: 错误: 需要class, interface或enum
		}
		^
0_0_35036337_19912\Main.java:55: 错误: 需要class, interface或enum
	}
	^
0_0_35036337_19912\Main.java:57: 错误: 需要class, interface或enum
	if(f > maxd) return false;
	^
0_0_35036337_19912\Main.java:59: 错误: 需要class, interface或enum
	int x = -1, y = -1;
	^
0_0_35036337_19912\Main.java:60: 错误: 需要class, interface或enum
	for(int i = 0; i < 3; i++) {
	^
0_0_35036337_19912\Main.java:60: 错误: 需要class, interface或enum
	for(int i = 0; i < 3; i++) {
	               ^
0_0_35036337_19912\Main.java:60: 错误: 需要class, interface或enum
	for(int i = 0; i < 3; i++) {
	                      ^
0_0_35036337_19912\Main.java:61: 错误: 需要class, interface或enum
		for(int j = 0; j < 3; j++) {
		               ^
0_0_35036337_19912\Main.java:61: 错误: 需要class, interface或enum
		for(int j = 0; j < 3; j++) {
		                      ^
0_0_35036337_19912\Main.java:62: 错误: 需要class, interface或enum
			if(mat[i][j] == 0) { x = i; y = j; }
			                            ^
0_0_35036337_19912\Main.java:62: 错误: 需要class, interface或enum
			if(mat[i][j] == 0) { x = i; y = j; }
			                                   ^
0_0_35036337_19912\Main.java:65: 错误: 需要class, interface或enum
	for(int i = 0; i < 4; i++) {
	               ^
0_0_35036337_19912\Main.java:65: 错误: 需要class, interface或enum
	for(int i = 0; i < 4; i++) {
	                      ^
0_0_35036337_19912\Main.java:67: 错误: 需要class, interface或enum
		if(nx < 0 || nx > 2 || ny < 0 || ny > 2) continue;
		^
0_0_35036337_19912\Main.java:68: 错误: 需要class, interface或enum
		if(pre + i == 3) continue;
		^
0_0_35036337_19912\Main.java:69: 错误: 需要class, interface或enum
		swap(mat[x][y], mat[nx][ny]);
		^
0_0_35036337_19912\Main.java:70: 错误: 需要class, interface或enum
		step[depth] = path[i];
		^
0_0_35036337_19912\Main.java:71: 错误: 需要class, interface或enum
		if(ida(depth+1, maxd, i)) return true;
		^
0_0_35036337_19912\Main.java:72: 错误: 需要class, interface或enum
		swap(mat[x][y], mat[nx][ny]);
		^
0_0_35036337_19912\Main.java:73: 错误: 需要class, interface或enum
	}
	^
0_0_35036337_19912\Main.java:75: 错误: 需要class, interface或enum
}
^
0_0_35036337_19912\Main.java:80: 错误: 非法字符: '#'
#ifdef LOCAL
^
0_0_35036337_19912\Main.java:82: 错误: 需要class, interface或enum
  freopen("data.out", "w", stdout);
  ^
0_0_35036337_19912\Main.java:83: 错误: 非法字符: '#'
#endif
^
0_0_35036337_19912\Main.java:84: 错误: 需要class, interface或enum
	int T; scanf("%d", &T);
	^
0_0_35036337_19912\Main.java:84: 错误: 需要class, interface或enum
	int T; scanf("%d", &T);
	       ^
0_0_35036337_19912\Main.java:85: 错误: 需要class, interface或enum
	int kase = 0;
	^
0_0_35036337_19912\Main.java:86: 错误: 需要class, interface或enum
	while(T--) {
	^
0_0_35036337_19912\Main.java:89: 错误: 需要class, interface或enum
		scanf("%s%s", s1, s2);
		^
0_0_35036337_19912\Main.java:91: 错误: 需要class, interface或enum
		int cnt1 = 0, cnt2 = 0;
		^
0_0_35036337_19912\Main.java:92: 错误: 需要class, interface或enum
		for(int i = 0; i < 3; i++) {
		^
0_0_35036337_19912\Main.java:92: 错误: 需要class, interface或enum
		for(int i = 0; i < 3; i++) {
		               ^
0_0_35036337_19912\Main.java:92: 错误: 需要class, interface或enum
		for(int i = 0; i < 3; i++) {
		                      ^
0_0_35036337_19912\Main.java:93: 错误: 需要class, interface或enum
			for(int j = 0; j < 3; j++) {
			               ^
0_0_35036337_19912\Main.java:93: 错误: 需要class, interface或enum
			for(int j = 0; j < 3; j++) {
			                      ^
0_0_35036337_19912\Main.java:95: 错误: 需要class, interface或enum
				else mat[i][j] = s1[cnt1] - '0';
				^
0_0_35036337_19912\Main.java:96: 错误: 需要class, interface或enum
				if(s2[cnt2] == 'X') fin[i][j] = 0;
				^
0_0_35036337_19912\Main.java:97: 错误: 需要class, interface或enum
				else fin[i][j] = s2[cnt2] - '0';
				^
0_0_35036337_19912\Main.java:98: 错误: 需要class, interface或enum
				cnt1++; cnt2++;
				^
0_0_35036337_19912\Main.java:98: 错误: 需要class, interface或enum
				cnt1++; cnt2++;
				        ^
0_0_35036337_19912\Main.java:99: 错误: 需要class, interface或enum
				pos[fin[i][j]] = i * 3 + j;
				^
0_0_35036337_19912\Main.java:100: 错误: 需要class, interface或enum
			}
			^
0_0_35036337_19912\Main.java:103: 错误: 需要class, interface或enum
		ans[0] = 'z';
		^
0_0_35036337_19912\Main.java:104: 错误: 需要class, interface或enum
		while(true) {
		^
0_0_35036337_19912\Main.java:108: 错误: 需要class, interface或enum
				for(int i = 0; i < d; i++) printf("%c", ans[i]);
				^
0_0_35036337_19912\Main.java:108: 错误: 需要class, interface或enum
				for(int i = 0; i < d; i++) printf("%c", ans[i]);
				               ^
0_0_35036337_19912\Main.java:108: 错误: 需要class, interface或enum
				for(int i = 0; i < d; i++) printf("%c", ans[i]);
				                      ^
0_0_35036337_19912\Main.java:109: 错误: 需要class, interface或enum
				printf("\n");
				^
0_0_35036337_19912\Main.java:110: 错误: 需要class, interface或enum


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:56:48, Gzip enabled