/in/foo.cc:23:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(){
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:26:56: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=]
for(ri i=1;i<=m;i++)scanf("%lf%lf%*lf",&a[i].x,&a[i].y);
^
/in/foo.cc:27:56: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=]
for(ri i=1;i<=n;i++)scanf("%lf%lf%*lf",&b[i].x,&b[i].y);
^
/in/foo.cc:30:7: warning: unused variable 'flag' [-Wunused-variable]
ri flag=1;
^~~~