0_0_37222497_2169\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_37222497_2169\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_37222497_2169\Main.java:2: 错误: 非法字符: '#'
#include<cmath>
^
0_0_37222497_2169\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_37222497_2169\Main.java:4: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_37222497_2169\Main.java:5: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_37222497_2169\Main.java:7: 错误: 需要class, interface或enum
const int N=1000000;
^
0_0_37222497_2169\Main.java:8: 错误: 需要class, interface或enum
const double eps=0.00001; //精度
^
0_0_37222497_2169\Main.java:9: 错误: 需要class, interface或enum
typedef struct TYPE
^
0_0_37222497_2169\Main.java:12: 错误: 需要class, interface或enum
int index;
^
0_0_37222497_2169\Main.java:13: 错误: 需要class, interface或enum
} Point; //存每点的坐标和索引值
^
0_0_37222497_2169\Main.java:14: 错误: 需要class, interface或enum
Point a[N],b[N],c[N];
^
0_0_37222497_2169\Main.java:15: 错误: 需要class, interface或enum
inline double min(double p,double q)
^
0_0_37222497_2169\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_37222497_2169\Main.java:22: 错误: 需要class, interface或enum
return sqrt(x1*x1+y1*y1);
^
0_0_37222497_2169\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_37222497_2169\Main.java:27: 错误: 需要class, interface或enum
for(i=s,j=m+1,k=s;i<=m&&j<=t;)
^
0_0_37222497_2169\Main.java:27: 错误: 需要class, interface或enum
for(i=s,j=m+1,k=s;i<=m&&j<=t;)
^
0_0_37222497_2169\Main.java:27: 错误: 需要class, interface或enum
for(i=s,j=m+1,k=s;i<=m&&j<=t;)
^
0_0_37222497_2169\Main.java:31: 错误: 需要class, interface或enum
else
^
0_0_37222497_2169\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_37222497_2169\Main.java:36: 错误: 需要class, interface或enum
while(j<=t)
^
0_0_37222497_2169\Main.java:38: 错误: 需要class, interface或enum
memcpy(q+s,p+s,(t-s+1)*sizeof(p[0]));
^
0_0_37222497_2169\Main.java:39: 错误: 需要class, interface或enum
return 0;
^
0_0_37222497_2169\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_37222497_2169\Main.java:44: 错误: 需要class, interface或enum
int i,j,k;
^
0_0_37222497_2169\Main.java:45: 错误: 需要class, interface或enum
if(q-p<4){
^
0_0_37222497_2169\Main.java:46: 错误: 需要class, interface或enum
for(i=p;i<q;i++){
^
0_0_37222497_2169\Main.java:46: 错误: 需要class, interface或enum
for(i=p;i<q;i++){
^
0_0_37222497_2169\Main.java:47: 错误: 需要class, interface或enum
for(j=i+1;j<=q;j++){
^
0_0_37222497_2169\Main.java:47: 错误: 需要class, interface或enum
for(j=i+1;j<=q;j++){
^
0_0_37222497_2169\Main.java:49: 错误: 需要class, interface或enum
if(temp<dm)dm=temp;
^
0_0_37222497_2169\Main.java:50: 错误: 需要class, interface或enum
}
^
0_0_37222497_2169\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_37222497_2169\Main.java:56: 错误: 需要class, interface或enum
double d1,d2;
^
0_0_37222497_2169\Main.java:57: 错误: 需要class, interface或enum
for(i=p,j=p,k=m+1;i<=q;i++)
^
0_0_37222497_2169\Main.java:57: 错误: 需要class, interface或enum
for(i=p,j=p,k=m+1;i<=q;i++)
^
0_0_37222497_2169\Main.java:57: 错误: 需要class, interface或enum
for(i=p,j=p,k=m+1;i<=q;i++)
^
0_0_37222497_2169\Main.java:60: 错误: 需要class, interface或enum
else
^
0_0_37222497_2169\Main.java:62: 错误: 需要class, interface或enum
d1=closest(a,c,b,p,m);
^
0_0_37222497_2169\Main.java:63: 错误: 需要class, interface或enum
d2=closest(a,c,b,m+1,q);
^
0_0_37222497_2169\Main.java:64: 错误: 需要class, interface或enum
dm=min(d1,d2);
^
0_0_37222497_2169\Main.java:65: 错误: 需要class, interface或enum
merge(b,c,p,m,q); //将数组c保存到b,且对y升序的
^
0_0_37222497_2169\Main.java:66: 错误: 需要class, interface或enum
for(i=p,k=p;i<=q;i++)
^
0_0_37222497_2169\Main.java:66: 错误: 需要class, interface或enum
for(i=p,k=p;i<=q;i++)
^
0_0_37222497_2169\Main.java:66: 错误: 需要class, interface或enum
for(i=p,k=p;i<=q;i++)
^
0_0_37222497_2169\Main.java:69: 错误: 需要class, interface或enum
for(i=p;i<k;i++)
^
0_0_37222497_2169\Main.java:69: 错误: 需要class, interface或enum
for(i=p;i<k;i++)
^
0_0_37222497_2169\Main.java:69: 错误: 需要class, interface或enum
for(i=p;i<k;i++)
^
0_0_37222497_2169\Main.java:70: 错误: 需要class, interface或enum
for(j=i+1;j<k&&c[j].y-c[i].y<dm;j++)
^
0_0_37222497_2169\Main.java:70: 错误: 需要class, interface或enum
for(j=i+1;j<k&&c[j].y-c[i].y<dm;j++)
^
0_0_37222497_2169\Main.java:73: 错误: 需要class, interface或enum
if(temp<dm)
^
0_0_37222497_2169\Main.java:75: 错误: 需要class, interface或enum
}
^
0_0_37222497_2169\Main.java:77: 错误: 需要class, interface或enum
}
^
0_0_37222497_2169\Main.java:80: 错误: 需要class, interface或enum
if(temp>-0.00001)return false;
^
0_0_37222497_2169\Main.java:81: 错误: 需要class, interface或enum
return true;
^
0_0_37222497_2169\Main.java:82: 错误: 需要class, interface或enum
}
^
0_0_37222497_2169\Main.java:85: 错误: 需要class, interface或enum
if(temp>-0.00001)return false;
^
0_0_37222497_2169\Main.java:86: 错误: 需要class, interface或enum
return true;
^
0_0_37222497_2169\Main.java:87: 错误: 需要class, interface或enum
}
^
0_0_37222497_2169\Main.java:91: 错误: 需要class, interface或enum
double d;
^
0_0_37222497_2169\Main.java:92: 错误: 需要class, interface或enum
while(scanf("%d",&n)!=EOF&&n)
^
0_0_37222497_2169\Main.java:94: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_37222497_2169\Main.java:94: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_37222497_2169\Main.java:96: 错误: 需要class, interface或enum
sort(a,a+n,cmpx);
^
0_0_37222497_2169\Main.java:97: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_37222497_2169\Main.java:97: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_37222497_2169\Main.java:97: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_37222497_2169\Main.java:99: 错误: 需要class, interface或enum
memcpy(b,a,n*sizeof(a[0]));
^
0_0_37222497_2169\Main.java:100: 错误: 需要class, interface或enum
sort(b,b+n,cmpy);
^
0_0_37222497_2169\Main.java:101: 错误: 需要class, interface或enum
d=closest(a,b,c,0,n-1); //求最近点对的距离
^
0_0_37222497_2169\Main.java:102: 错误: 需要class, interface或enum
printf("%.2lf\n",d/2);
^
0_0_37222497_2169\Main.java:103: 错误: 需要class, interface或enum
}
^
0_0_37222497_2169\Main.java:105: 错误: 需要class, interface或enum
}
^
74 个错误
|