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_4550582_25318\Main.java:17: 需要为 class、interface 或 enum
public  Main Distance {
        ^
0_0_4550582_25318\Main.java:18: 需要为 class、interface 或 enum
	public static void main(String args[]) {
	              ^
0_0_4550582_25318\Main.java:20: 需要为 class、interface 或 enum
		DecimalFormat dcmFmt = new DecimalFormat("0.00");
		^
0_0_4550582_25318\Main.java:22: 需要为 class、interface 或 enum
		 Point p = new Point(t.nextDouble(),t.nextDouble());
		 ^
0_0_4550582_25318\Main.java:24: 需要为 class、interface 或 enum
		 Point p1 = new Point(t.nextDouble(),t.nextDouble());
		 ^
0_0_4550582_25318\Main.java:25: 需要为 class、interface 或 enum
		 t.nextLine();
		 ^
0_0_4550582_25318\Main.java:26: 需要为 class、interface 或 enum
		 Point n = new Point(t.nextDouble(),t.nextDouble());
		 ^
0_0_4550582_25318\Main.java:27: 需要为 class、interface 或 enum
		 Point n1 = new Point(t.nextDouble(),t.nextDouble());
		 ^
0_0_4550582_25318\Main.java:30: 需要为 class、interface 或 enum
		System.out.println(dcmFmt.format(p.getDistance(p1)));
		^
0_0_4550582_25318\Main.java:31: 需要为 class、interface 或 enum
		System.out.println(dcmFmt.format(n.getDistance(n1)));
		^
0_0_4550582_25318\Main.java:32: 需要为 class、interface 或 enum
	}
	^
11 错误


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