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_13566524_8289\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_13566524_8289\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
        ^
0_0_13566524_8289\Main.java:4: 错误: 需要class, interface或enum
const int maxn = 4 ;
^
0_0_13566524_8289\Main.java:5: 错误: 需要class, interface或enum
int x[maxn];
^
0_0_13566524_8289\Main.java:6: 错误: 需要class, interface或enum
int y[maxn];
^
0_0_13566524_8289\Main.java:7: 错误: 需要class, interface或enum
int z[maxn];
^
0_0_13566524_8289\Main.java:9: 错误: 需要class, interface或enum
void swap(int idx , int x[] ,int idt){
^
0_0_13566524_8289\Main.java:11: 错误: 需要class, interface或enum
	x[idx] = x[idt];
	^
0_0_13566524_8289\Main.java:12: 错误: 需要class, interface或enum
	x[idt] =tmp;
	^
0_0_13566524_8289\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_13566524_8289\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_13566524_8289\Main.java:21: 错误: 需要class, interface或enum
	for(int i = 1 ; i < maxn ; i ++ ){
	                ^
0_0_13566524_8289\Main.java:21: 错误: 需要class, interface或enum
	for(int i = 1 ; i < maxn ; i ++ ){
	                           ^
0_0_13566524_8289\Main.java:23: 错误: 需要class, interface或enum
		swap(i,y,3);
		^
0_0_13566524_8289\Main.java:24: 错误: 需要class, interface或enum
		swap(i,z,3);
		^
0_0_13566524_8289\Main.java:28: 错误: 需要class, interface或enum
		if(dis(0,1) == dis(0,2) && dis(0,3) == dis(0,1)*2 && 
		^
0_0_13566524_8289\Main.java:32: 错误: 需要class, interface或enum
   		}
   		^
0_0_13566524_8289\Main.java:35: 错误: 需要class, interface或enum
		swap(3,y,i);
		^
0_0_13566524_8289\Main.java:36: 错误: 需要class, interface或enum
		swap(3,z,i);
		^
0_0_13566524_8289\Main.java:37: 错误: 需要class, interface或enum
	}
	^
0_0_13566524_8289\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_13566524_8289\Main.java:45: 错误: 需要class, interface或enum
	scanf("%d", &T); 
	^
0_0_13566524_8289\Main.java:46: 错误: 需要class, interface或enum
	while( T -- ){
	^
0_0_13566524_8289\Main.java:47: 错误: 需要class, interface或enum
		for(int i = 0 ; i < 4 ; i ++ ){
		                ^
0_0_13566524_8289\Main.java:47: 错误: 需要class, interface或enum
		for(int i = 0 ; i < 4 ; i ++ ){
		                        ^
0_0_13566524_8289\Main.java:49: 错误: 需要class, interface或enum
		}	
		^
0_0_13566524_8289\Main.java:52: 错误: 需要class, interface或enum
		flag = change();
		^
0_0_13566524_8289\Main.java:53: 错误: 需要class, interface或enum
		if(flag) printf("Case #%d: Yes\n",cs ++ );
		^
0_0_13566524_8289\Main.java:54: 错误: 需要class, interface或enum
		else printf("Case #%d: No\n", cs ++ );
		^
0_0_13566524_8289\Main.java:55: 错误: 需要class, interface或enum
	}
	^
0_0_13566524_8289\Main.java:58: 错误: 需要class, interface或enum
}
^
31 个错误


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-30 02:24:31, Gzip enabled