0_0_24477099_3123.cpp:8:20: error: 'MAXN' was not declared in this scope
struct Point point[MAXN],*px[MAXN],*py[MAXN];
^
0_0_24477099_3123.cpp:8:30: error: 'MAXN' was not declared in this scope
struct Point point[MAXN],*px[MAXN],*py[MAXN];
^
0_0_24477099_3123.cpp:8:40: error: 'MAXN' was not declared in this scope
struct Point point[MAXN],*px[MAXN],*py[MAXN];
^
0_0_24477099_3123.cpp: In function 'double closest(int, int)':
0_0_24477099_3123.cpp:19:24: error: 'px' was not declared in this scope
return get_dis(px[s],px[e]);
^
0_0_24477099_3123.cpp:21:28: error: 'px' was not declared in this scope
return min(get_dis(px[s],px[s+1]),min(get_dis(px[s+1],px[e]),get_dis(px[s],px[e])));
^
0_0_24477099_3123.cpp:27:12: error: 'px' was not declared in this scope
if(px[i]->x>=px[mid]->x-ans&&px[i]->x<=px[mid]->x+ans)
^
0_0_24477099_3123.cpp:28:13: error: 'py' was not declared in this scope
py[cnt++]=px[i];
^
0_0_24477099_3123.cpp:30:10: error: 'py' was not declared in this scope
sort(py,py+cnt,cmpy);
^
0_0_24477099_3123.cpp: In function 'int main()':
0_0_24477099_3123.cpp:51:29: error: 'point' was not declared in this scope
scanf("%lf%lf",&point[i].x,&point[i].y);
^
0_0_24477099_3123.cpp:52:13: error: 'px' was not declared in this scope
px[i]=&point[i];
^
0_0_24477099_3123.cpp:54:14: error: 'px' was not declared in this scope
sort(px,px+n,cmpx);
^
|