foo.cc: In function 'int main()':
foo.cc:18:21: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
18 | for(int i=1;i+(1<<j-1)<=n;i++)
| ~^~
foo.cc:20:37: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
20 | f[i][j]=max(f[i][j-1],f[i+(1<<j-1)][j-1]);
| ~^~
foo.cc:21:37: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
21 | d[i][j]=min(d[i][j-1],d[i+(1<<j-1)][j-1]);
| ~^~
foo.cc:25:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
25 | scanf("%d%d",&x,&y);
| ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务