0_0_33824594_7539\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
0_0_33824594_7539\Main.java:2: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_33824594_7539\Main.java:3: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_33824594_7539\Main.java:5: 错误: 非法字符: '#'
#include<math.h>
^
0_0_33824594_7539\Main.java:5: 错误: 需要class, interface或enum
#include<math.h>
^
0_0_33824594_7539\Main.java:6: 错误: 非法字符: '#'
#define maxn 50010
^
0_0_33824594_7539\Main.java:7: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_33824594_7539\Main.java:11: 错误: 需要class, interface或enum
};
^
0_0_33824594_7539\Main.java:12: 错误: 需要class, interface或enum
Point p[maxn],stackn[maxn];//stackn[]:输出的凸包上的点集,按照逆时针方向排列
^
0_0_33824594_7539\Main.java:13: 错误: 需要class, interface或enum
int n,k,top,len;
^
0_0_33824594_7539\Main.java:14: 错误: 需要class, interface或enum
double dist(Point a,Point b)
^
0_0_33824594_7539\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_33824594_7539\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_33824594_7539\Main.java:27: 错误: 需要class, interface或enum
if(mult(a,b,p[0])==0&&dist(a,p[0])<dist(b,p[0]))return true;
^
0_0_33824594_7539\Main.java:28: 错误: 需要class, interface或enum
return false;
^
0_0_33824594_7539\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_33824594_7539\Main.java:33: 错误: 需要class, interface或enum
top=2;
^
0_0_33824594_7539\Main.java:34: 错误: 需要class, interface或enum
sort(p+1,p+n,cmp);
^
0_0_33824594_7539\Main.java:35: 错误: 需要class, interface或enum
for(i=0;i<3;i++)
^
0_0_33824594_7539\Main.java:35: 错误: 需要class, interface或enum
for(i=0;i<3;i++)
^
0_0_33824594_7539\Main.java:35: 错误: 需要class, interface或enum
for(i=0;i<3;i++)
^
0_0_33824594_7539\Main.java:37: 错误: 需要class, interface或enum
for(i=3;i<n;i++)
^
0_0_33824594_7539\Main.java:37: 错误: 需要class, interface或enum
for(i=3;i<n;i++)
^
0_0_33824594_7539\Main.java:37: 错误: 需要class, interface或enum
for(i=3;i<n;i++)
^
0_0_33824594_7539\Main.java:41: 错误: 需要class, interface或enum
stackn[++top]=p[i];
^
0_0_33824594_7539\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_33824594_7539\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_33824594_7539\Main.java:48: 错误: 需要class, interface或enum
double ans;
^
0_0_33824594_7539\Main.java:49: 错误: 需要class, interface或enum
while(~scanf("%d",&n))
^
0_0_33824594_7539\Main.java:52: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_33824594_7539\Main.java:52: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_33824594_7539\Main.java:52: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_33824594_7539\Main.java:55: 错误: 需要class, interface或enum
if(p[i].x<p[k].x||((p[i].x==p[k].x)&&(p[i].y<p[k].y)))k=i;//找到最下且偏左的那个点
^
0_0_33824594_7539\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_33824594_7539\Main.java:58: 错误: 需要class, interface或enum
Graham();
^
0_0_33824594_7539\Main.java:59: 错误: 需要class, interface或enum
ans=0;
^
0_0_33824594_7539\Main.java:60: 错误: 需要class, interface或enum
for(i=0;i<=top;i++)
^
0_0_33824594_7539\Main.java:60: 错误: 需要class, interface或enum
for(i=0;i<=top;i++)
^
0_0_33824594_7539\Main.java:60: 错误: 需要class, interface或enum
for(i=0;i<=top;i++)
^
0_0_33824594_7539\Main.java:61: 错误: 需要class, interface或enum
for(j=i+1;j<=top;j++)
^
0_0_33824594_7539\Main.java:61: 错误: 需要class, interface或enum
for(j=i+1;j<=top;j++)
^
0_0_33824594_7539\Main.java:62: 错误: 需要class, interface或enum
for(k=j+1;k<=top;k++)
^
0_0_33824594_7539\Main.java:62: 错误: 需要class, interface或enum
for(k=j+1;k<=top;k++)
^
0_0_33824594_7539\Main.java:64: 错误: 需要class, interface或enum
printf("%.2lf\n",ans*0.5);
^
0_0_33824594_7539\Main.java:65: 错误: 需要class, interface或enum
}
^
0_0_33824594_7539\Main.java:67: 错误: 需要class, interface或enum
}
^
46 个错误
|