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_36152376_29768\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_36152376_29768\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_36152376_29768\Main.java:3: 错误: 非法字符: '#'
#include <cmath>
^
0_0_36152376_29768\Main.java:5: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_36152376_29768\Main.java:7: 错误: 非法字符: '#'
#include <iomanip>
^
0_0_36152376_29768\Main.java:9: 错误: 非法字符: '#'
#define DBL_MAX 1.7976931348623158e+308
^
0_0_36152376_29768\Main.java:13: 错误: 需要class, interface或enum
typedef struct Point
^
0_0_36152376_29768\Main.java:19: 错误: 需要class, interface或enum
	double y;
	^
0_0_36152376_29768\Main.java:21: 错误: 需要class, interface或enum
};
^
0_0_36152376_29768\Main.java:23: 错误: 需要class, interface或enum
Point point[100100];
^
0_0_36152376_29768\Main.java:25: 错误: 需要class, interface或enum
int number;
^
0_0_36152376_29768\Main.java:27: 错误: 需要class, interface或enum
bool cmp(const Point &a,const Point &b)
^
0_0_36152376_29768\Main.java:35: 错误: 需要class, interface或enum
	else 
	^
0_0_36152376_29768\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_36152376_29768\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_36152376_29768\Main.java:55: 错误: 需要class, interface或enum
	int i,j;
	^
0_0_36152376_29768\Main.java:57: 错误: 需要class, interface或enum
	int flag;
	^
0_0_36152376_29768\Main.java:59: 错误: 需要class, interface或enum
	double min;
	^
0_0_36152376_29768\Main.java:61: 错误: 需要class, interface或enum
	if(left==right)
	^
0_0_36152376_29768\Main.java:65: 错误: 需要class, interface或enum
	if(left+1==right)
	^
0_0_36152376_29768\Main.java:69: 错误: 需要class, interface或enum
	int middle=(left+right)/2;
	^
0_0_36152376_29768\Main.java:71: 错误: 需要class, interface或enum
	double leftLength=divide(left,middle);
	^
0_0_36152376_29768\Main.java:73: 错误: 需要class, interface或enum
	double rightLength=divide(middle+1,right);
	^
0_0_36152376_29768\Main.java:75: 错误: 需要class, interface或enum
	if(leftLength>rightLength)
	^
0_0_36152376_29768\Main.java:79: 错误: 需要class, interface或enum
	else
	^
0_0_36152376_29768\Main.java:83: 错误: 需要class, interface或enum
	flag=0;
	^
0_0_36152376_29768\Main.java:85: 错误: 需要class, interface或enum
	for(i=left;i<=right;i++)
	^
0_0_36152376_29768\Main.java:85: 错误: 需要class, interface或enum
	for(i=left;i<=right;i++)
	           ^
0_0_36152376_29768\Main.java:85: 错误: 需要class, interface或enum
	for(i=left;i<=right;i++)
	                    ^
0_0_36152376_29768\Main.java:95: 错误: 需要class, interface或enum
			flag=1;	
			^
0_0_36152376_29768\Main.java:97: 错误: 需要class, interface或enum
		}
		^
0_0_36152376_29768\Main.java:105: 错误: 需要class, interface或enum
			break;
			^
0_0_36152376_29768\Main.java:107: 错误: 需要class, interface或enum
		}
		^
0_0_36152376_29768\Main.java:115: 错误: 需要class, interface或enum
		}
		^
0_0_36152376_29768\Main.java:125: 错误: 需要class, interface或enum
	}		
	^
0_0_36152376_29768\Main.java:131: 错误: 需要class, interface或enum
		for(i=start;i<=end;i++)
		            ^
0_0_36152376_29768\Main.java:131: 错误: 需要class, interface或enum
		for(i=start;i<=end;i++)
		                   ^
0_0_36152376_29768\Main.java:135: 错误: 需要class, interface或enum
			for(j=i+1;j<=end;j++)
			          ^
0_0_36152376_29768\Main.java:135: 错误: 需要class, interface或enum
			for(j=i+1;j<=end;j++)
			                 ^
0_0_36152376_29768\Main.java:143: 错误: 需要class, interface或enum
			}
			^
0_0_36152376_29768\Main.java:151: 错误: 需要class, interface或enum
}
^
0_0_36152376_29768\Main.java:159: 错误: 需要class, interface或enum
	while(cin>>number&&number)
	^
0_0_36152376_29768\Main.java:163: 错误: 需要class, interface或enum
		for(i=0;i<number;i++)
		        ^
0_0_36152376_29768\Main.java:163: 错误: 需要class, interface或enum
		for(i=0;i<number;i++)
		                 ^
0_0_36152376_29768\Main.java:167: 错误: 需要class, interface或enum
		sort(point,point+number,cmp);
		^
0_0_36152376_29768\Main.java:169: 错误: 需要class, interface或enum
		cout<<setprecision(2) <<std::fixed<<divide(0,number-1)/2.0<<endl;
		^
0_0_36152376_29768\Main.java:171: 错误: 需要class, interface或enum
	}
	^
0_0_36152376_29768\Main.java:177: 错误: 需要class, interface或enum
}
^
48 个错误


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-16 07:43:39, Gzip enabled