foo.cc: In function 'int main()':
foo.cc:14:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
14 | int O=1<<r-l+1;--O;
| ~~~^~
foo.cc:21:23: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
21 | int x=1<<r-j,c1=ch[i][j],c2=ch[i][j-1],c3=ch[i-1][j];
| ~^~
foo.cc:11:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | int n,m;scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:12:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
12 | for(int i=1;i<=n;i++)scanf("%s",ch[i]+1);//printf("%d\n",clock());
| ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务