/in/foo.cc: In member function 'void tree_chain_splitting::segtree::build(int, int, int)':
/in/foo.cc:96:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In member function 'int tree_chain_splitting::segtree::query(int, int, int, int, int)':
/in/foo.cc:104:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In function 'int tree_chain_splitting::main()':
/in/foo.cc:136:3: warning: no return statement in function returning non-void [-Wreturn-type]
}
^