foo.cc: In member function 'void prt::build(int&, int, int)':
foo.cc:19:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
19 | int m=l+r>>1;
| ~^~
foo.cc: In member function 'void prt::ins(int&, int, int, int, int, node)':
foo.cc:26:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
26 | int m=l+r>>1;
| ~^~
foo.cc: In member function 'node prt::ask(int, int, int, int, int)':
foo.cc:32:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
32 | int m=l+r>>1;
| ~^~
foo.cc: In function 'void ST()':
foo.cc:57:52: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
57 | st[k][i]=gmd(st[k-1][i],st[k-1][i+(1<<k-1)]);
| ~^~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务