foo.cc: In function 'int NG::iseg_node(int, int)':
foo.cc:59:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = info[o].l + info[o].r >> 1;
~~~~~~~~~~^~~~~~~~~~~
foo.cc: In function 'int NG::oseg_node(int, int)':
foo.cc:77:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = info[o].l + info[o].r >> 1;
~~~~~~~~~~^~~~~~~~~~~
foo.cc: In function 'void NG::getintv(int, int, int)':
foo.cc:99:33: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = info[o].l + info[o].r >> 1;
~~~~~~~~~~^~~~~~~~~~~
foo.cc: In member function 'void Tree::rmq_init()':
foo.cc:182:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
int a = mnp[j-1][i], b = mnp[j-1][i+(1<<j-1)];
~^~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务