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_33898662_20495\Main.java:1: 错误: 需要class, interface或enum
public static void main(String[] args) {
              ^
0_0_33898662_20495\Main.java:3: 错误: 需要class, interface或enum
		DecimalFormat df=new DecimalFormat("#0.000");
		^
0_0_33898662_20495\Main.java:4: 错误: 需要class, interface或enum
		while(sca.hasNext()) {
		^
0_0_33898662_20495\Main.java:7: 错误: 需要class, interface或enum
			}
			^
0_0_33898662_20495\Main.java:9: 错误: 需要class, interface或enum
			float m1=0;
			^
0_0_33898662_20495\Main.java:10: 错误: 需要class, interface或enum
			float m2=0;
			^
0_0_33898662_20495\Main.java:11: 错误: 需要class, interface或enum
			float m3=0;
			^
0_0_33898662_20495\Main.java:12: 错误: 需要class, interface或enum
			float nub=0;
			^
0_0_33898662_20495\Main.java:13: 错误: 需要class, interface或enum
			for(int i=0;i<=60*60*24;i++) {
			^
0_0_33898662_20495\Main.java:13: 错误: 需要class, interface或enum
			for(int i=0;i<=60*60*24;i++) {
			            ^
0_0_33898662_20495\Main.java:13: 错误: 需要class, interface或enum
			for(int i=0;i<=60*60*24;i++) {
			                        ^
0_0_33898662_20495\Main.java:15: 错误: 需要class, interface或enum
				m2=(m2+(float)360.0/60/60)%360;
				^
0_0_33898662_20495\Main.java:16: 错误: 需要class, interface或enum
				m3+=360.0/60/60/24;
				^
0_0_33898662_20495\Main.java:17: 错误: 需要class, interface或enum
				if(f<Math.abs((m2-m1)) && Math.abs((m2-m1))<360-f && f<Math.abs((m3-m1)) && Math.abs((m3-m1))<360-f && f<Math.abs((m3-m2)) && Math.abs((m3-m2))<360-f) {
				^
0_0_33898662_20495\Main.java:19: 错误: 需要class, interface或enum
				}
				^
0_0_33898662_20495\Main.java:23: 错误: 需要class, interface或enum
			}
			^
0_0_33898662_20495\Main.java:27: 错误: 需要class, interface或enum
	}
	^
17 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 13:28:02, Gzip enabled