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_35933337_27994.cpp:14:9: error: 'maxn' was not declared in this scope
 point a[maxn];
         ^
0_0_35933337_27994.cpp:17:10: error: 'maxn' was not declared in this scope
 double x[maxn],y[maxn];
          ^
0_0_35933337_27994.cpp:17:18: error: 'maxn' was not declared in this scope
 double x[maxn],y[maxn];
                  ^
0_0_35933337_27994.cpp: In function 'int main()':
0_0_35933337_27994.cpp:45:21: error: 'x' was not declared in this scope
    scanf("%lf %lf",&x[i],&y[i]);
                     ^
0_0_35933337_27994.cpp:45:27: error: 'y' was not declared in this scope
    scanf("%lf %lf",&x[i],&y[i]);
                           ^
0_0_35933337_27994.cpp:50:5: error: 'a' was not declared in this scope
     a[t].x=i;
     ^
0_0_35933337_27994.cpp:52:18: error: 'x' was not declared in this scope
     a[t].dis=cal(x[i],x[j],y[i],y[j]);
                  ^
0_0_35933337_27994.cpp:52:28: error: 'y' was not declared in this scope
     a[t].dis=cal(x[i],x[j],y[i],y[j]);
                            ^
0_0_35933337_27994.cpp:54:4: error: expected ';' before '}' token
    }
    ^
0_0_35933337_27994.cpp:56:8: error: 'a' was not declared in this scope
   sqrt(a,a+t,cmp);
        ^
0_0_35933337_27994.cpp:59:4: error: 'fx' was not declared in this scope
    fx=findset(a[i].x);
    ^
0_0_35933337_27994.cpp:60:4: error: 'fy' was not declared in this scope
    fy=findset(a[i].y);
    ^
0_0_35933337_27994.cpp:62:5: error: 'f' was not declared in this scope
     f[fx]=fy;
     ^


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-12-02 15:49:25, Gzip enabled