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_30600360_8298.cpp:25:13: error: 'Point' was not declared in this scope
 double dist(Point a,Point b){
             ^
0_0_30600360_8298.cpp:25:21: error: 'Point' was not declared in this scope
 double dist(Point a,Point b){
                     ^
0_0_30600360_8298.cpp:25:28: error: expression list treated as compound expression in initializer [-fpermissive]
 double dist(Point a,Point b){
                            ^
0_0_30600360_8298.cpp:25:29: error: expected ',' or ';' before '{' token
 double dist(Point a,Point b){
                             ^
0_0_30600360_8298.cpp: In function 'int main()':
0_0_30600360_8298.cpp:62:38: error: 'dist' cannot be used as a function
             double r = dist(tmp,a[s1]);
                                      ^
0_0_30600360_8298.cpp:65:39: error: 'dist' cannot be used as a function
                 if( fabs(dist(a[i],tmp)-r)<1e-6)
                                       ^
0_0_30600360_8298.cpp:69:53: error: expected ')' before ';' token
                 printf("%lf %lf %lf\n",tmp.x,tmp.y,r;
                                                     ^


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-29 19:22:52, Gzip enabled