foo.cc: In function 'int main()':
foo.cc:2:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
2 | #define fp(i,a,b) for(register int i=a,I=b+1;i<I;++i)
| ^~~
foo.cc:51:5: note: in expansion of macro 'fp'
51 | fp(i,1,n)ins(i);gf();
| ^~
foo.cc:51:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
51 | fp(i,1,n)ins(i);gf();
| ^~
foo.cc:2:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
2 | #define fp(i,a,b) for(register int i=a,I=b+1;i<I;++i)
| ^~~
foo.cc:53:5: note: in expansion of macro 'fp'
53 | fp(i,1,n)G[i][n+1]=-p[m],G[n+1][i]=1;G[n+1][n+2]=1;
| ^~
foo.cc:53:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
53 | fp(i,1,n)G[i][n+1]=-p[m],G[n+1][i]=1;G[n+1][n+2]=1;
| ^
foo.cc:49:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
49 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
foo.cc: In function 'void ins(int)':
foo.cc:18:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
18 | scanf("%s",s+1);int u=0,i;
| ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务