0_0_34018417_1683.cpp: In function 'double mindis(int, int)':
0_0_34018417_1683.cpp:30:13: error: 'point' was not declared in this scope
return dis(point[l],point[r]);
^
0_0_34018417_1683.cpp:32:17: error: 'point' was not declared in this scope
return min(dis(point[l],point[r]),min(dis(point[l],point[l+1]),dis(point[l+1],point[r])));
^
0_0_34018417_1683.cpp:38:6: error: 'point' was not declared in this scope
if(point[i].x>=point[mid].x-ans&&point[i].x<=point[mid].x+ans)
^
0_0_34018417_1683.cpp: In function 'int main()':
0_0_34018417_1683.cpp:63:29: error: 'point' was not declared in this scope
scanf("%lf%lf",&point[i].x,&point[i].y);
^
0_0_34018417_1683.cpp:65:8: error: 'point' was not declared in this scope
sort(point,point+n,cmpx);
^
|