foo.cc: In member function 'void SEGMENT_TREE::build(int, int, int)':
foo.cc:77:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
77 | #define mid (l+r>>1)
| ~^~
foo.cc:91:31: note: in expansion of macro 'mid'
91 | build(ls(p),l,mid);
| ^~~
foo.cc:77:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
77 | #define mid (l+r>>1)
| ~^~
foo.cc:92:29: note: in expansion of macro 'mid'
92 | build(rs(p),mid+1,r);
| ^~~
foo.cc: In member function 'long long int SEGMENT_TREE::query(int, int, int, int)':
foo.cc:77:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
77 | #define mid (l+r>>1)
| ~^~
foo.cc:115:25: note: in expansion of macro 'mid'
115 | if(pos<=mid) return query(ls(p),l,mid,pos);
| ^~~
foo.cc:77:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
77 | #define mid (l+r>>1)
| ~^~
foo.cc:115:51: note: in expansion of macro 'mid'
115 | if(pos<=mid) return query(ls(p),l,mid,pos);
| ^~~
foo.cc:77:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
77 | #define mid (l+r>>1)
| ~^~
foo.cc:116:41: note: in expansion of macro 'mid'
116 | else return query(rs(p),mid+1,r,pos);
| ^~~
foo.cc: In member function 'std::pair<long long int, long long int> SEGMENT_TREE::query1(int, int, int, int, int, long long int)':
foo.cc:77:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
77 | #define mid (l+r>>1)
| ~^~
foo.cc:130:41: note: in expansion of macro 'mid'
130 | PLL resl=query1(ls(p),l,mid,beg,en,x),resr=query1(rs(p),mid+1,r,beg,en,x);
| ^~~
foo.cc:77:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
77 | #define mid (l+r>>1)
| ~^~
foo.cc:130:73: note: in expansion of macro 'mid'
130 | PLL resl=query1(ls(p),l,mid,beg,en,x),resr=query1(rs(p),mid+1,r,beg,en,x);
| ^~~
foo.cc: In member function 'std::pair<long long int, long long int> SEGMENT_TREE::query2(int, int, int, int, int, long long int)':
foo.cc:77:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
77 | #define mid (l+r>>1)
| ~^~
foo.cc:146:41: note: in expansion of macro 'mid'
146 | PLL resl=query2(ls(p),l,mid,beg,en,x),resr=query2(rs(p),mid+1,r,beg,en,x);
| ^~~
foo.cc:77:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
77 | #define mid (l+r>>1)
| ~^~
foo.cc:146:73: note: in expansion of macro 'mid'
146 | PLL resl=query2(ls(p),l,mid,beg,en,x),resr=query2(rs(p),mid+1,r,beg,en,x);
| ^~~