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_35763047_19220\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_35763047_19220\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_35763047_19220\Main.java:2: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_35763047_19220\Main.java:4: 错误: 需要class, interface或enum
double max(double a,double b,double c)
^
0_0_35763047_19220\Main.java:7: 错误: 需要class, interface或enum
	return max>c?max:c;
	^
0_0_35763047_19220\Main.java:8: 错误: 需要class, interface或enum
}
^
0_0_35763047_19220\Main.java:12: 错误: 需要class, interface或enum
	return min<c?min:c;
	^
0_0_35763047_19220\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_35763047_19220\Main.java:17: 错误: 需要class, interface或enum
double n;
^
0_0_35763047_19220\Main.java:18: 错误: 需要class, interface或enum
while(cin>>n&&n!=-1)
^
0_0_35763047_19220\Main.java:22: 错误: 需要class, interface或enum
    double shij=30.0/60/60;
    ^
0_0_35763047_19220\Main.java:23: 错误: 需要class, interface或enum
    double fenj=6/60.0;
    ^
0_0_35763047_19220\Main.java:24: 错误: 需要class, interface或enum
    double miaoj=6/1.0;
    ^
0_0_35763047_19220\Main.java:25: 错误: 需要class, interface或enum
    double sfx=fenj-shij;
    ^
0_0_35763047_19220\Main.java:26: 错误: 需要class, interface或enum
    double smx=miaoj-shij; 
    ^
0_0_35763047_19220\Main.java:28: 错误: 需要class, interface或enum
 	double fmx=miaoj-fenj;
 	^
0_0_35763047_19220\Main.java:30: 错误: 需要class, interface或enum
 	double sfz=360/sfx;
 	^
0_0_35763047_19220\Main.java:31: 错误: 需要class, interface或enum
 	double sfn=n/sfx;
 	^
0_0_35763047_19220\Main.java:32: 错误: 需要class, interface或enum
 	double sf_n=(360-n)/sfx;
 	^
0_0_35763047_19220\Main.java:34: 错误: 需要class, interface或enum
 	double fmz=360/fmx;
 	^
0_0_35763047_19220\Main.java:35: 错误: 需要class, interface或enum
 	double fmn=n/fmx;
 	^
0_0_35763047_19220\Main.java:36: 错误: 需要class, interface或enum
 	double fm_n=(360-n)/fmx;
 	^
0_0_35763047_19220\Main.java:38: 错误: 需要class, interface或enum
 	double smz=360/smx;
 	^
0_0_35763047_19220\Main.java:39: 错误: 需要class, interface或enum
 	double smn=n/smx;
 	^
0_0_35763047_19220\Main.java:40: 错误: 需要class, interface或enum
 	double sm_n=(360-n)/smx;
 	^
0_0_35763047_19220\Main.java:42: 错误: 需要class, interface或enum
 	double shichang=0;
 	^
0_0_35763047_19220\Main.java:43: 错误: 需要class, interface或enum
 	for(double i=0;i<=maxx;i+=sfz)
 	^
0_0_35763047_19220\Main.java:43: 错误: 需要class, interface或enum
 	for(double i=0;i<=maxx;i+=sfz)
 	               ^
0_0_35763047_19220\Main.java:43: 错误: 需要class, interface或enum
 	for(double i=0;i<=maxx;i+=sfz)
 	                       ^
0_0_35763047_19220\Main.java:45: 错误: 需要class, interface或enum
 		for(double j=0;j<=maxx;j+=fmz)
 		               ^
0_0_35763047_19220\Main.java:45: 错误: 需要class, interface或enum
 		for(double j=0;j<=maxx;j+=fmz)
 		                       ^
0_0_35763047_19220\Main.java:48: 错误: 需要class, interface或enum
 			if(i+sf_n<j+fmn) break;
 			^
0_0_35763047_19220\Main.java:49: 错误: 需要class, interface或enum
 			for(double k=0;k<=maxx;k+=smz)
 			^
0_0_35763047_19220\Main.java:49: 错误: 需要class, interface或enum
 			for(double k=0;k<=maxx;k+=smz)
 			               ^
0_0_35763047_19220\Main.java:49: 错误: 需要class, interface或enum
 			for(double k=0;k<=maxx;k+=smz)
 			                       ^
0_0_35763047_19220\Main.java:54: 错误: 需要class, interface或enum
if(j+fm_n<k+smn||i+sf_n<k+smn) break;
^
0_0_35763047_19220\Main.java:56: 错误: 需要class, interface或enum
double kaishi=max(i+sfn,j+fmn,k+smn);
^
0_0_35763047_19220\Main.java:58: 错误: 需要class, interface或enum
double jieshu=min(i+sf_n,j+fm_n,k+sm_n);
^
0_0_35763047_19220\Main.java:60: 错误: 需要class, interface或enum
if(jieshu>kaishi)
^
0_0_35763047_19220\Main.java:63: 错误: 需要class, interface或enum
 			}
 			^
0_0_35763047_19220\Main.java:68: 错误: 需要class, interface或enum
 }
 ^
41 个错误


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-28 11:31:39, Gzip enabled