/in/foo.cc: In function 'void SMT::build(long long int, long long int, long long int)':
/in/foo.cc:39:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid(l, r) (l + r >> 1)
/in/foo.cc:53:26:
build(ls(p), l, mid(l, r));
~~~~
/in/foo.cc:53:22: note: in expansion of macro 'mid'
build(ls(p), l, mid(l, r));
^~~
/in/foo.cc:39:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid(l, r) (l + r >> 1)
/in/foo.cc:54:23:
build(rs(p), mid(l, r) + 1, r);
~~~~
/in/foo.cc:54:19: note: in expansion of macro 'mid'
build(rs(p), mid(l, r) + 1, r);
^~~
/in/foo.cc: In function 'void SMT::modify(long long int, long long int, long long int, long long int, long long int, long long int)':
/in/foo.cc:39:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid(l, r) (l + r >> 1)
/in/foo.cc:67:19:
if (L <= mid(l, r)) modify(ls(p), l, mid(l, r), L, R, k);
~~~~
/in/foo.cc:67:15: note: in expansion of macro 'mid'
if (L <= mid(l, r)) modify(ls(p), l, mid(l, r), L, R, k);
^~~
/in/foo.cc:39:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid(l, r) (l + r >> 1)
/in/foo.cc:67:47:
if (L <= mid(l, r)) modify(ls(p), l, mid(l, r), L, R, k);
~~~~
/in/foo.cc:67:43: note: in expansion of macro 'mid'
if (L <= mid(l, r)) modify(ls(p), l, mid(l, r), L, R, k);
^~~
/in/foo.cc:39:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid(l, r) (l + r >> 1)
/in/foo.cc:68:14:
if (mid(l, r) < R) modify(rs(p), mid(l, r) + 1, r, L, R, k);
~~~~
/in/foo.cc:68:10: note: in expansion of macro 'mid'
if (mid(l, r) < R) modify(rs(p), mid(l, r) + 1, r, L, R, k);
^~~
/in/foo.cc:39:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid(l, r) (l + r >> 1)
/in/foo.cc:68:43:
if (mid(l, r) < R) modify(rs(p), mid(l, r) + 1, r, L, R, k);
~~~~
/in/foo.cc:68:39: note: in expansion of macro 'mid'
if (mid(l, r) < R) modify(rs(p), mid(l, r) + 1, r, L, R, k);
^~~
/in/foo.cc: In function 'long long int SMT::query(long long int, long long int, long long int, long long int, long long int)':
/in/foo.cc:39:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid(l, r) (l + r >> 1)
/in/foo.cc:83:19:
if (L <= mid(l, r)) ans = std::min(ans, query(ls(p), l, mid(l, r), L, R));
~~~~
/in/foo.cc:83:15: note: in expansion of macro 'mid'
if (L <= mid(l, r)) ans = std::min(ans, query(ls(p), l, mid(l, r), L, R));
^~~
/in/foo.cc:39:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid(l, r) (l + r >> 1)
/in/foo.cc:83:66:
if (L <= mid(l, r)) ans = std::min(ans, query(ls(p), l, mid(l, r), L, R));
~~~~
/in/foo.cc:83:62: note: in expansion of macro 'mid'
if (L <= mid(l, r)) ans = std::min(ans, query(ls(p), l, mid(l, r), L, R));
^~~
/in/foo.cc:39:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid(l, r) (l + r >> 1)
/in/foo.cc:84:14:
if (mid(l, r) < R) ans = std::min(ans, query(rs(p), mid(l, r) + 1, r, L, R));
~~~~
/in/foo.cc:84:10: note: in expansion of macro 'mid'
if (mid(l, r) < R) ans = std::min(ans, query(rs(p), mid(l, r) + 1, r, L, R));
^~~
/in/foo.cc:39:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid(l, r) (l + r >> 1)
/in/foo.cc:84:62:
if (mid(l, r) < R) ans = std::min(ans, query(rs(p), mid(l, r) + 1, r, L, R));
~~~~
/in/foo.cc:84:58: note: in expansion of macro 'mid'
if (mid(l, r) < R) ans = std::min(ans, query(rs(p), mid(l, r) + 1, r, L, R));
^~~