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_37192818_12448.cpp: In function 'double Bk(int)':
0_0_37192818_12448.cpp:46:20: error: 'points' was not declared in this scope
         return Dis(points[1],points[2]);
                    ^
0_0_37192818_12448.cpp:57:22: error: 'points' was not declared in this scope
             if(Judge(points[i],points[t],points[ans[index-1]])<0)
                      ^
0_0_37192818_12448.cpp:64:19: error: 'points' was not declared in this scope
         res +=Dis(points[ans[i]],points[ans[i+1]]);
                   ^
0_0_37192818_12448.cpp: In function 'int main()':
0_0_37192818_12448.cpp:74:29: error: 'points' was not declared in this scope
             scanf("%lf%lf",&points[i].x,&points[i].y);
                             ^
0_0_37192818_12448.cpp:75:14: error: 'points' was not declared in this scope
         sort(points+1,points+1+n,Cmp);
              ^


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-11-28 23:53:56, Gzip enabled