/in/foo.cc: In function 'int main()':
/in/foo.cc:35:31: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'double*' [-Wformat=]
scanf("%d%d",&b[i].x,&b[i].y);
^
/in/foo.cc:35:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'double*' [-Wformat=]
/in/foo.cc:38:41: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'double*' [-Wformat=]
scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].v);
^
/in/foo.cc:38:41: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'double*' [-Wformat=]
/in/foo.cc:38:41: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'double*' [-Wformat=]