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_33824606_15708\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
0_0_33824606_15708\Main.java:2: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_33824606_15708\Main.java:3: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_33824606_15708\Main.java:4: 错误: 非法字符: '#'
#include<cstring>
^
0_0_33824606_15708\Main.java:5: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_33824606_15708\Main.java:6: 错误: 非法字符: '#'
#include<cmath>
^
0_0_33824606_15708\Main.java:7: 错误: 非法字符: '#'
#define N 50003
^
0_0_33824606_15708\Main.java:8: 错误: 非法字符: '#'
#define eps 1e-10
^
0_0_33824606_15708\Main.java:10: 错误: 需要class, interface或enum
struct vector {
^
0_0_33824606_15708\Main.java:12: 错误: 需要class, interface或enum
	vector (double X=0,double Y=0) {
	^
0_0_33824606_15708\Main.java:14: 错误: 需要class, interface或enum
	}
	^
0_0_33824606_15708\Main.java:16: 错误: 需要class, interface或enum
typedef vector point;
^
0_0_33824606_15708\Main.java:17: 错误: 需要class, interface或enum
vector operator -(vector a,vector b){
^
0_0_33824606_15708\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_33824606_15708\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_33824606_15708\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_33824606_15708\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_33824606_15708\Main.java:31: 错误: 需要class, interface或enum
int dcmp(double x)
^
0_0_33824606_15708\Main.java:34: 错误: 需要class, interface或enum
	return x<0?-1:1;
	^
0_0_33824606_15708\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_33824606_15708\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_33824606_15708\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_33824606_15708\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_33824606_15708\Main.java:50: 错误: 需要class, interface或enum
	vector v=a-b; vector u=c-b;
	              ^
0_0_33824606_15708\Main.java:51: 错误: 需要class, interface或enum
	return fabs(cross(u,v))/len(u);
	^
0_0_33824606_15708\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_33824606_15708\Main.java:56: 错误: 需要class, interface或enum
    m=0;
    ^
0_0_33824606_15708\Main.java:57: 错误: 需要class, interface或enum
    if (n==1) {
    ^
0_0_33824606_15708\Main.java:59: 错误: 需要class, interface或enum
    	return;
    	^
0_0_33824606_15708\Main.java:60: 错误: 需要class, interface或enum
	}
	^
0_0_33824606_15708\Main.java:61: 错误: 需要class, interface或enum
	for (int i=1;i<=n;i++){
	             ^
0_0_33824606_15708\Main.java:61: 错误: 需要class, interface或enum
	for (int i=1;i<=n;i++){
	                  ^
0_0_33824606_15708\Main.java:63: 错误: 需要class, interface或enum
		ch[m++]=a[i];
		^
0_0_33824606_15708\Main.java:64: 错误: 需要class, interface或enum
	}
	^
0_0_33824606_15708\Main.java:66: 错误: 需要class, interface或enum
	for (int i=n-1;i>=1;i--){
	^
0_0_33824606_15708\Main.java:66: 错误: 需要class, interface或enum
	for (int i=n-1;i>=1;i--){
	               ^
0_0_33824606_15708\Main.java:66: 错误: 需要class, interface或enum
	for (int i=n-1;i>=1;i--){
	                    ^
0_0_33824606_15708\Main.java:68: 错误: 需要class, interface或enum
		ch[m++]=a[i]; 
		^
0_0_33824606_15708\Main.java:69: 错误: 需要class, interface或enum
	}
	^
0_0_33824606_15708\Main.java:71: 错误: 需要class, interface或enum
}
^
0_0_33824606_15708\Main.java:75: 错误: 需要class, interface或enum
	if (m==3) return fabs(cross(ch[1]-ch[0],ch[2]-ch[0]))/2;
	^
0_0_33824606_15708\Main.java:76: 错误: 需要class, interface或enum
	double ans=0;
	^
0_0_33824606_15708\Main.java:77: 错误: 需要class, interface或enum
	int i,j,k;
	^
0_0_33824606_15708\Main.java:78: 错误: 需要class, interface或enum
	for (int i=0;i<m;i++){
	^
0_0_33824606_15708\Main.java:78: 错误: 需要class, interface或enum
	for (int i=0;i<m;i++){
	             ^
0_0_33824606_15708\Main.java:78: 错误: 需要class, interface或enum
	for (int i=0;i<m;i++){
	                 ^
0_0_33824606_15708\Main.java:80: 错误: 需要class, interface或enum
		k=(j+1)%m;
		^
0_0_33824606_15708\Main.java:82: 错误: 需要class, interface或enum
		while (fabs(cross(ch[i]-ch[j],ch[i]-ch[k]))<fabs(cross(ch[i]-ch[j],ch[i]-ch[(k+1)%m]))) k=(k+1)%m;
		^
0_0_33824606_15708\Main.java:83: 错误: 需要class, interface或enum
		while (i!=j&&k!=i) {
		^
0_0_33824606_15708\Main.java:85: 错误: 需要class, interface或enum
			while (fabs(cross(ch[i]-ch[j],ch[i]-ch[k]))<fabs(cross(ch[i]-ch[j],ch[i]-ch[(k+1)%m]))) k=(k+1)%m;
			^
0_0_33824606_15708\Main.java:86: 错误: 需要class, interface或enum
			j=(j+1)%m;
			^
0_0_33824606_15708\Main.java:87: 错误: 需要class, interface或enum
		}
		^
0_0_33824606_15708\Main.java:90: 错误: 需要class, interface或enum
}
^
0_0_33824606_15708\Main.java:94: 错误: 需要class, interface或enum
	freopen("my.out","w",stdout);
	^
0_0_33824606_15708\Main.java:95: 错误: 需要class, interface或enum
	while (scanf("%d",&n)!=EOF ) {
	^
0_0_33824606_15708\Main.java:96: 错误: 需要class, interface或enum
		for (int i=1;i<=n;i++) scanf("%lf%lf",&a[i].x,&a[i].y);
		             ^
0_0_33824606_15708\Main.java:96: 错误: 需要class, interface或enum
		for (int i=1;i<=n;i++) scanf("%lf%lf",&a[i].x,&a[i].y);
		                  ^
0_0_33824606_15708\Main.java:97: 错误: 需要class, interface或enum
		convexhull();
		^
0_0_33824606_15708\Main.java:98: 错误: 需要class, interface或enum
		double ans=rotating();
		^
0_0_33824606_15708\Main.java:99: 错误: 需要class, interface或enum
		printf("%.2lf\n",ans);
		^
0_0_33824606_15708\Main.java:100: 错误: 需要class, interface或enum
	}
	^
61 个错误


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-17 00:19:07, Gzip enabled