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_23444453_4313\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_23444453_4313\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_23444453_4313\Main.java:2: 错误: 非法字符: '#'
#define N 200005
^
0_0_23444453_4313\Main.java:4: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_23444453_4313\Main.java:5: 错误: 需要class, interface或enum
struct KD{
^
0_0_23444453_4313\Main.java:7: 错误: 需要class, interface或enum
}a[N];
^
0_0_23444453_4313\Main.java:8: 错误: 需要class, interface或enum
LL ans;int id,n,m,D,X,Y,Z;
^
0_0_23444453_4313\Main.java:8: 错误: 需要class, interface或enum
LL ans;int id,n,m,D,X,Y,Z;
       ^
0_0_23444453_4313\Main.java:9: 错误: 需要class, interface或enum
inline int cmp(const KD &a,const KD &b){return a.x[D]<b.x[D];}
^
0_0_23444453_4313\Main.java:9: 错误: 需要class, interface或enum
inline int cmp(const KD &a,const KD &b){return a.x[D]<b.x[D];}
                                                             ^
0_0_23444453_4313\Main.java:10: 错误: 需要class, interface或enum
double sqr(double x){return x*x;}
                                ^
0_0_23444453_4313\Main.java:13: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++)
	^
0_0_23444453_4313\Main.java:13: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++)
	             ^
0_0_23444453_4313\Main.java:13: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++)
	                 ^
0_0_23444453_4313\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_23444453_4313\Main.java:18: 错误: 需要class, interface或enum
int build(int l,int r){
^
0_0_23444453_4313\Main.java:20: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++) ave[u]=sum[u]=0;
	^
0_0_23444453_4313\Main.java:20: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++) ave[u]=sum[u]=0;
	             ^
0_0_23444453_4313\Main.java:20: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++) ave[u]=sum[u]=0;
	                 ^
0_0_23444453_4313\Main.java:21: 错误: 需要class, interface或enum
	for (int i=l;i<=r;i++)
	^
0_0_23444453_4313\Main.java:21: 错误: 需要class, interface或enum
	for (int i=l;i<=r;i++)
	             ^
0_0_23444453_4313\Main.java:21: 错误: 需要class, interface或enum
	for (int i=l;i<=r;i++)
	                  ^
0_0_23444453_4313\Main.java:22: 错误: 需要class, interface或enum
		for (int u=0;u<3;u++) ave[u]+=a[i].x[u];
		             ^
0_0_23444453_4313\Main.java:22: 错误: 需要class, interface或enum
		for (int u=0;u<3;u++) ave[u]+=a[i].x[u];
		                 ^
0_0_23444453_4313\Main.java:23: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++) ave[u]/=r-l+1;
	^
0_0_23444453_4313\Main.java:23: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++) ave[u]/=r-l+1;
	             ^
0_0_23444453_4313\Main.java:23: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++) ave[u]/=r-l+1;
	                 ^
0_0_23444453_4313\Main.java:24: 错误: 需要class, interface或enum
	for (int i=l;i<=r;i++)
	^
0_0_23444453_4313\Main.java:24: 错误: 需要class, interface或enum
	for (int i=l;i<=r;i++)
	             ^
0_0_23444453_4313\Main.java:24: 错误: 需要class, interface或enum
	for (int i=l;i<=r;i++)
	                  ^
0_0_23444453_4313\Main.java:25: 错误: 需要class, interface或enum
		for (int u=0;u<3;u++) sum[u]+=sqr(ave[u]-a[i].x[u]);
		             ^
0_0_23444453_4313\Main.java:25: 错误: 需要class, interface或enum
		for (int u=0;u<3;u++) sum[u]+=sqr(ave[u]-a[i].x[u]);
		                 ^
0_0_23444453_4313\Main.java:26: 错误: 需要class, interface或enum
	double Max=1e18;
	^
0_0_23444453_4313\Main.java:27: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++)
	^
0_0_23444453_4313\Main.java:27: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++)
	             ^
0_0_23444453_4313\Main.java:27: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++)
	                 ^
0_0_23444453_4313\Main.java:29: 错误: 需要class, interface或enum
	nth_element(a+l,a+k,a+r+1,cmp);
	^
0_0_23444453_4313\Main.java:30: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++)
	^
0_0_23444453_4313\Main.java:30: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++)
	             ^
0_0_23444453_4313\Main.java:30: 错误: 需要class, interface或enum
	for (int u=0;u<3;u++)
	                 ^
0_0_23444453_4313\Main.java:32: 错误: 需要class, interface或enum
	up(k,a[k].l=(l<k)?build(l,k-1):0);
	^
0_0_23444453_4313\Main.java:33: 错误: 需要class, interface或enum
	up(k,a[k].r=(k<r)?build(k+1,r):0);
	^
0_0_23444453_4313\Main.java:34: 错误: 需要class, interface或enum
	return k;
	^
0_0_23444453_4313\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_23444453_4313\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_23444453_4313\Main.java:43: 错误: 需要class, interface或enum
	int dy=max(a[t].mi[1]-Y,0)+max(Y-a[t].ma[1],0);
	^
0_0_23444453_4313\Main.java:44: 错误: 需要class, interface或enum
	return 1ll*dx*dx+1ll*dy*dy;
	^
0_0_23444453_4313\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_23444453_4313\Main.java:48: 错误: 需要class, interface或enum
	LL dl=1e18,dr=1e18,dnow=dist(a[k].x[0],a[k].x[1],X,Y);
	^
0_0_23444453_4313\Main.java:49: 错误: 需要class, interface或enum
	if ((dnow<ans||dnow==ans&&a[k].ord<a[id].ord)&&a[k].x[2]<=Z)
	^
0_0_23444453_4313\Main.java:51: 错误: 需要class, interface或enum
  if (a[k].l) dl=getval(a[k].l);
  ^
0_0_23444453_4313\Main.java:52: 错误: 需要class, interface或enum
  if (a[k].r) dr=getval(a[k].r);
  ^
0_0_23444453_4313\Main.java:53: 错误: 需要class, interface或enum
  if (dl<dr){
  ^
0_0_23444453_4313\Main.java:55: 错误: 需要class, interface或enum
  	if (dr<=ans) Query(a[k].r);
  	^
0_0_23444453_4313\Main.java:56: 错误: 需要class, interface或enum
  }
  ^
0_0_23444453_4313\Main.java:59: 错误: 需要class, interface或enum
  	if (dl<=ans) Query(a[k].l);
  	^
0_0_23444453_4313\Main.java:60: 错误: 需要class, interface或enum
  } 
  ^
0_0_23444453_4313\Main.java:63: 错误: 需要class, interface或enum
	int T;scanf("%d",&T);
	      ^
0_0_23444453_4313\Main.java:64: 错误: 需要class, interface或enum
	while (T--){
	^
0_0_23444453_4313\Main.java:66: 错误: 需要class, interface或enum
		for (int i=1;i<=n;i++)
		^
0_0_23444453_4313\Main.java:66: 错误: 需要class, interface或enum
		for (int i=1;i<=n;i++)
		             ^
0_0_23444453_4313\Main.java:66: 错误: 需要class, interface或enum
		for (int i=1;i<=n;i++)
		                  ^
0_0_23444453_4313\Main.java:68: 错误: 需要class, interface或enum
		int rt=build(1,n);
		^
0_0_23444453_4313\Main.java:69: 错误: 需要class, interface或enum
		while (m--){
		^
0_0_23444453_4313\Main.java:71: 错误: 需要class, interface或enum
			id=0;ans=1e18;Query(rt);
			^
0_0_23444453_4313\Main.java:71: 错误: 需要class, interface或enum
			id=0;ans=1e18;Query(rt);
			     ^
0_0_23444453_4313\Main.java:71: 错误: 需要class, interface或enum
			id=0;ans=1e18;Query(rt);
			              ^
0_0_23444453_4313\Main.java:72: 错误: 需要class, interface或enum
			printf("%d %d %d\n",a[id].x[0],a[id].x[1],a[id].x[2]);
			^
0_0_23444453_4313\Main.java:73: 错误: 需要class, interface或enum
		}
		^
69 个错误


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 02:56:05, Gzip enabled