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_7775923_7544\Main.java:1: 需要为 class、interface 或 enum
x = new double[N];
^
0_0_7775923_7544\Main.java:2: 需要为 class、interface 或 enum
			y = new double[N];
			^
0_0_7775923_7544\Main.java:3: 需要为 class、interface 或 enum
			tempX = new double[N];
			^
0_0_7775923_7544\Main.java:4: 需要为 class、interface 或 enum
			tempY = new double[N];
			^
0_0_7775923_7544\Main.java:5: 需要为 class、interface 或 enum
			max = 0;
			^
0_0_7775923_7544\Main.java:6: 需要为 class、interface 或 enum
			for(int i = 0; i < N; i ++) {
			^
0_0_7775923_7544\Main.java:6: 需要为 class、interface 或 enum
			for(int i = 0; i < N; i ++) {
			               ^
0_0_7775923_7544\Main.java:6: 需要为 class、interface 或 enum
			for(int i = 0; i < N; i ++) {
			                      ^
0_0_7775923_7544\Main.java:8: 需要为 class、interface 或 enum
				if(Math.abs(x[i]) > max)
				^
0_0_7775923_7544\Main.java:10: 需要为 class、interface 或 enum
				y[i] = sc.nextDouble();
				^
0_0_7775923_7544\Main.java:11: 需要为 class、interface 或 enum
				if(Math.abs(y[i]) > max)
				^
0_0_7775923_7544\Main.java:13: 需要为 class、interface 或 enum
			}
			^
0_0_7775923_7544\Main.java:15: 需要为 class、interface 或 enum
			double d = getShortestDistance(x, y, 0, N - 1) / 2;
			^
0_0_7775923_7544\Main.java:16: 需要为 class、interface 或 enum
			System.out.printf(String.format("%1$.2f", d));
			^
0_0_7775923_7544\Main.java:17: 需要为 class、interface 或 enum
			System.out.println();


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-17 01:13:31, Gzip enabled