0_0_38593253_25841.cpp: In function 'double getdist(int, int)':
0_0_38593253_25841.cpp:71:20: error: 'struct Point' has no member named 'x'
return sqrt((p[i].x-p[j].x)*(p[i].x-p[j].x)+(p[i].y-p[j].y)*(p[i].y-p[j].y));
^
0_0_38593253_25841.cpp:71:27: error: 'struct Point' has no member named 'x'
return sqrt((p[i].x-p[j].x)*(p[i].x-p[j].x)+(p[i].y-p[j].y)*(p[i].y-p[j].y));
^
0_0_38593253_25841.cpp:71:36: error: 'struct Point' has no member named 'x'
return sqrt((p[i].x-p[j].x)*(p[i].x-p[j].x)+(p[i].y-p[j].y)*(p[i].y-p[j].y));
^
0_0_38593253_25841.cpp:71:43: error: 'struct Point' has no member named 'x'
return sqrt((p[i].x-p[j].x)*(p[i].x-p[j].x)+(p[i].y-p[j].y)*(p[i].y-p[j].y));
^
0_0_38593253_25841.cpp: In function 'int main()':
0_0_38593253_25841.cpp:81:25: error: 'struct Point' has no member named 'x'
scanf("%lf%lf",&p[i].x,&p[i].y);
^
|