foo.cc: In function 'int main()':
foo.cc:3:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
3 | #define fp(i,a,b) for(R int i=(a),I=(b)+1;i<I;++i)
| ^~~
foo.cc:39:2: note: in expansion of macro 'fp'
39 | fp(i,1,n)mp[n+1][i]=1;mp[n+1][n+2]=1;
| ^~
foo.cc:39:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
39 | fp(i,1,n)mp[n+1][i]=1;mp[n+1][n+2]=1;
| ^~
foo.cc:28:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
28 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:32:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
32 | scanf("%s",s+1);
| ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务