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_2235801_15336\Main.java:1: 非法字符: \35
#include <stdio.h>
^
0_0_2235801_15336\Main.java:6: 需要为 class、interface 或 enum
	double vh = 360.0 / (12 * 60 * 60), vm = 360.0 / (60 * 60), vs = 360.0 / 60;
	^
0_0_2235801_15336\Main.java:7: 需要为 class、interface 或 enum
	double dh = 0, dm = 0, ds = 0;
	^
0_0_2235801_15336\Main.java:9: 需要为 class、interface 或 enum
	while(scanf("%d", &d) && d != -1)
	^
0_0_2235801_15336\Main.java:11: 需要为 class、interface 或 enum
		if(d >= 180) { printf("0.000\n"); continue; }
		                                  ^
0_0_2235801_15336\Main.java:11: 需要为 class、interface 或 enum
		if(d >= 180) { printf("0.000\n"); continue; }
		                                            ^
0_0_2235801_15336\Main.java:13: 需要为 class、interface 或 enum
		for(a = 0, t = 1; t <= 12 * 60 * 60; t++)
		                  ^
0_0_2235801_15336\Main.java:13: 需要为 class、interface 或 enum
		for(a = 0, t = 1; t <= 12 * 60 * 60; t++)
		                                     ^
0_0_2235801_15336\Main.java:16: 需要为 class、interface 或 enum
			dm = vm * (t % (60 * 60));
			^
0_0_2235801_15336\Main.java:17: 需要为 class、interface 或 enum
			ds = vs * (t % 60);
			^
0_0_2235801_15336\Main.java:19: 需要为 class、interface 或 enum
			if(dh > dm && dh - dm >= d && 360 - dh + dm >= d || dh <= dm && dm - dh >= d && 360 - dm + dh >= d)
			^
0_0_2235801_15336\Main.java:23: 需要为 class、interface 或 enum
		}
		^
0_0_2235801_15336\Main.java:26: 需要为 class、interface 或 enum
	}
	^
0_0_2235801_15336\Main.java:29: 需要为 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-29 09:46:18, Gzip enabled