double x\[10\],y\[10\]; int i;
...
for (i=0; i<10; i++) cin >> x[i] >> y[i];
...
double x[???],y[???];
int i,n;
cin >> n;
for (i=0; i<n; i++) cin >> x[i] >> y[i];{}code{*}Расстояние от точки до n точек{*}{code:title=prog.cpp|borderStyle=solid}double x[10],y[10],d[10],x0,y0;
int i;
...
cin >> x0 >> y0;
cin >> n;
for (i=0; i<n; i++) cin >> x[i] >> y[i];
...
for (i=0; i<n; i++)
d[i]=sqrt(pow(x[i]-x0,2)+pow(y[i]-y0,2));
...
cout << setprecision(2) << fixed;
for (i=0; i<10; i++)
cout << d[i] << endl; ...