Main.cc: In function ‘int main()’:
Main.cc:59:16: error: ‘s’ was not declared in this scope
flag[j]=1;s
^
Main.cc:51:19: warning: unused variable ‘k1’ [-Wunused-variable]
double b1,meet,k1;
^~
Main.cc:26:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
~~~~~^~~~~~~~~~~~~~
Main.cc:29:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&rab[i].x,&rab[i].y);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Main.cc:34:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf%lf",&hill[i].x,&hill[i].y,&r[i]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~