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_38609083_27981\Main.java:2: 错误: 非法字符: '#'
#include <iostream>
^
0_0_38609083_27981\Main.java:2: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_38609083_27981\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_38609083_27981\Main.java:4: 错误: 非法字符: '#'
#include <iomanip>
^
0_0_38609083_27981\Main.java:8: 错误: 需要class, interface或enum
double max(double a,double b,double c)
^
0_0_38609083_27981\Main.java:11: 错误: 需要class, interface或enum
    result = result>c?result:c;
    ^
0_0_38609083_27981\Main.java:12: 错误: 需要class, interface或enum
    return result;
    ^
0_0_38609083_27981\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_38609083_27981\Main.java:19: 错误: 需要class, interface或enum
    result = result<c?result:c;
    ^
0_0_38609083_27981\Main.java:20: 错误: 需要class, interface或enum
    return result;
    ^
0_0_38609083_27981\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_38609083_27981\Main.java:26: 错误: 需要class, interface或enum
    while(cin>>D&&D!=-1)
    ^
0_0_38609083_27981\Main.java:29: 错误: 需要class, interface或enum
		vsm = 6.0-1.0/10.0;
		^
0_0_38609083_27981\Main.java:30: 错误: 需要class, interface或enum
		vsh = 6.0-1.0/120.0;
		^
0_0_38609083_27981\Main.java:31: 错误: 需要class, interface或enum
		vmh = 1.0/10.-1.0/120.0;
		^
0_0_38609083_27981\Main.java:32: 错误: 需要class, interface或enum
		tsm = 360.0/vsm;
		^
0_0_38609083_27981\Main.java:33: 错误: 需要class, interface或enum
		tsh = 360.0/vsh;
		^
0_0_38609083_27981\Main.java:34: 错误: 需要class, interface或enum
		tmh = 360.0/vmh;
		^
0_0_38609083_27981\Main.java:35: 错误: 需要class, interface或enum
		double bsh,esh,bsm,esm,bmh,emh;
		^
0_0_38609083_27981\Main.java:36: 错误: 需要class, interface或enum
		bsh = D/vsh;
		^
0_0_38609083_27981\Main.java:37: 错误: 需要class, interface或enum
		esh = (360.0-D)/vsh;
		^
0_0_38609083_27981\Main.java:38: 错误: 需要class, interface或enum
		bsm = D/vsm;
		^
0_0_38609083_27981\Main.java:39: 错误: 需要class, interface或enum
		esm = (360.0-D)/vsm;
		^
0_0_38609083_27981\Main.java:40: 错误: 需要class, interface或enum
		bmh = D/vmh;
		^
0_0_38609083_27981\Main.java:41: 错误: 需要class, interface或enum
		emh = (360.0-D)/vmh;
		^
0_0_38609083_27981\Main.java:42: 错误: 需要class, interface或enum
		while(bmh<43200)
		^
0_0_38609083_27981\Main.java:49: 错误: 需要class, interface或enum
					end = min(esh,esm,emh);
					^
0_0_38609083_27981\Main.java:50: 错误: 需要class, interface或enum
					total += (end-start)>0?(end-start):0;
					^
0_0_38609083_27981\Main.java:51: 错误: 需要class, interface或enum
					bsh = bsh+tsh;esh = esh+tsh;
					^
0_0_38609083_27981\Main.java:51: 错误: 需要class, interface或enum
					bsh = bsh+tsh;esh = esh+tsh;
					              ^
0_0_38609083_27981\Main.java:52: 错误: 需要class, interface或enum
				}
				^
0_0_38609083_27981\Main.java:53: 错误: 需要class, interface或enum
				bsh = bsh-tsh;esh = esh-tsh;
				              ^
0_0_38609083_27981\Main.java:54: 错误: 需要class, interface或enum
				bsm = bsm+tsm;esm = esm+tsm;
				^
0_0_38609083_27981\Main.java:54: 错误: 需要class, interface或enum
				bsm = bsm+tsm;esm = esm+tsm;
				              ^
0_0_38609083_27981\Main.java:55: 错误: 需要class, interface或enum
			}
			^
0_0_38609083_27981\Main.java:56: 错误: 需要class, interface或enum
			bsm = bsm-tsm;esm = esm-tsm;
			              ^
0_0_38609083_27981\Main.java:57: 错误: 需要class, interface或enum
			bmh = bmh+tmh;emh = emh+tmh;
			^
0_0_38609083_27981\Main.java:57: 错误: 需要class, interface或enum
			bmh = bmh+tmh;emh = emh+tmh;
			              ^
0_0_38609083_27981\Main.java:58: 错误: 需要class, interface或enum
		}
		^
0_0_38609083_27981\Main.java:60: 错误: 需要class, interface或enum
	}
	^
0_0_38609083_27981\Main.java:63: 错误: 需要class, interface或enum
}
^
41 个错误


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.001000(s) query 1, Server time : 2025-01-10 12:59:28, Gzip enabled