foo.cc: In function 'void rd(T&)':
foo.cc:16:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
16 | for(x=numb;isdigit(ch=getchar());x=x*10+numb);(fl==true)&&(x=-x);}
| ^~~
foo.cc:16:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
16 | for(x=numb;isdigit(ch=getchar());x=x*10+numb);(fl==true)&&(x=-x);}
| ^
foo.cc: In function 'int Miracle::main()':
foo.cc:49:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
49 | scanf("%d%d",&p[i],&w[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:53:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
53 | scanf("%d%d",&a,&b);
| ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务