sortbooks.cpp: In function 'void upd(long long int, long long int, long long int, long long int, long long int)':
sortbooks.cpp:13:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
13 | #define tm (tl + tr >> 1)
| ~~~^~~~
sortbooks.cpp:51:13: note: in expansion of macro 'tm'
51 | if (pos <= tm) upd(pos, val, ls);
| ^~
sortbooks.cpp:13:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
13 | #define tm (tl + tr >> 1)
| ~~~^~~~
sortbooks.cpp:14:24: note: in expansion of macro 'tm'
14 | #define ls v << 1, tl, tm
| ^~
sortbooks.cpp:51:31: note: in expansion of macro 'ls'
51 | if (pos <= tm) upd(pos, val, ls);
| ^~
sortbooks.cpp:13:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
13 | #define tm (tl + tr >> 1)
| ~~~^~~~
sortbooks.cpp:15:24: note: in expansion of macro 'tm'
15 | #define rs v << 1 | 1, tm + 1, tr
| ^~
sortbooks.cpp:52:21: note: in expansion of macro 'rs'
52 | else upd(pos, val, rs);
| ^~
sortbooks.cpp: In function 'long long int get(long long int, long long int, long long int, long long int, long long int)':
sortbooks.cpp:13:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
13 | #define tm (tl + tr >> 1)
| ~~~^~~~
sortbooks.cpp:14:24: note: in expansion of macro 'tm'
14 | #define ls v << 1, tl, tm
| ^~
sortbooks.cpp:59:23: note: in expansion of macro 'ls'
59 | return max(get(l, r, ls), get(l, r, rs));
| ^~
sortbooks.cpp:13:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
13 | #define tm (tl + tr >> 1)
| ~~~^~~~
sortbooks.cpp:15:24: note: in expansion of macro 'tm'
15 | #define rs v << 1 | 1, tm + 1, tr
| ^~
sortbooks.cpp:59:38: note: in expansion of macro 'rs'
59 | return max(get(l, r, ls), get(l, r, rs));
| ^~