foo.cc: In function ‘int new_node(int)’:
foo.cc:18:84: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
18 | t[u].pri = rand(), t[u].lch = t[u].rch = t[u].flip = t[u].sam = t[u].same_ = 0, t[u].siz = 1,
| ~~~~~~~~~~~^~~
foo.cc:18:71: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
18 | t[u].pri = rand(), t[u].lch = t[u].rch = t[u].flip = t[u].sam = t[u].same_ = 0, t[u].siz = 1,
| ~~~~~~~~~^~~~~~~~~~~~~~~~
foo.cc: In function ‘void push_down(int)’:
foo.cc:45:105: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
45 | if (t[u].sam) same__(t[u].lch, t[u].same_), same__(t[u].rch, t[u].same_), t[u].sam = t[u].same_ = 0;
| ~~~~~~~~~~~^~~