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_37538478_10945\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_37538478_10945\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_37538478_10945\Main.java:2: 错误: 非法字符: '#'
#include <cmath>
^
0_0_37538478_10945\Main.java:4: 错误: 需要class, interface或enum
const double pi =acos(-1);
^
0_0_37538478_10945\Main.java:5: 错误: 需要class, interface或enum
int main()
^
0_0_37538478_10945\Main.java:8: 错误: 需要class, interface或enum
	int t;
	^
0_0_37538478_10945\Main.java:9: 错误: 需要class, interface或enum
	cin>>t;
	^
0_0_37538478_10945\Main.java:10: 错误: 需要class, interface或enum
	while(t--)
	^
0_0_37538478_10945\Main.java:13: 错误: 需要class, interface或enum
		cin>>level;
		^
0_0_37538478_10945\Main.java:14: 错误: 需要class, interface或enum
		if (level>=1)
		^
0_0_37538478_10945\Main.java:17: 错误: 需要class, interface或enum
			printf("%.5f\n",pi/cos(A));
			^
0_0_37538478_10945\Main.java:18: 错误: 需要class, interface或enum
		}
		^
0_0_37538478_10945\Main.java:22: 错误: 需要class, interface或enum
		}
		^
0_0_37538478_10945\Main.java:26: 错误: 需要class, interface或enum
			double cosA=cos(A);//cos
			^
0_0_37538478_10945\Main.java:27: 错误: 需要class, interface或enum
			double sinA=sin(A);//sin
			^
0_0_37538478_10945\Main.java:30: 错误: 需要class, interface或enum
			double ta=2/cosA;//斜边长
			^
0_0_37538478_10945\Main.java:31: 错误: 需要class, interface或enum
			double tb=ta*sinA;//底边长
			^
0_0_37538478_10945\Main.java:33: 错误: 需要class, interface或enum
			double a=ta*(1/tb)/2;//椭圆的长边
			^
0_0_37538478_10945\Main.java:34: 错误: 需要class, interface或enum
			double b=1;//椭圆的短边
			^
0_0_37538478_10945\Main.java:36: 错误: 需要class, interface或enum
			double L=-a;//x的左区
			^
0_0_37538478_10945\Main.java:37: 错误: 需要class, interface或enum
			double R=L+ta;//x的右区
			^
0_0_37538478_10945\Main.java:39: 错误: 需要class, interface或enum
			double re1=fabs(pow((a*a-R*R),3.0/2));
			^
0_0_37538478_10945\Main.java:40: 错误: 需要class, interface或enum
			double re2=fabs(pow((a*a-L*L),3.0/2));
			^
0_0_37538478_10945\Main.java:41: 错误: 需要class, interface或enum
			double re=-2.0/(3*a*b)*fabs(re1+re2);
			^
0_0_37538478_10945\Main.java:42: 错误: 需要class, interface或enum
			printf("%.5f\n",re);
			^
0_0_37538478_10945\Main.java:43: 错误: 需要class, interface或enum
		}
		^
0_0_37538478_10945\Main.java:46: 错误: 需要class, interface或enum
}
^
27 个错误


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 16:10:03, Gzip enabled