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