/in/foo.cc: In function 'int main()':
/in/foo.cc:67:35: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lf%lf",&s1[i].x,&s1[i].y);
^
/in/foo.cc:67:35: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'int*' [-Wformat=]
/in/foo.cc:71:35: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lf%lf",&s2[i].x,&s2[i].y);
^
/in/foo.cc:71:35: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'int*' [-Wformat=]
/in/foo.cc:65:8: warning: unused variable 'x' [-Wunused-variable]
int i,x,y,j;
^
/in/foo.cc:65:10: warning: unused variable 'y' [-Wunused-variable]
int i,x,y,j;
^