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_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);
        ^


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-07-03 16:52:49, Gzip enabled