/in/p2.cpp: In function 'bool tree_hasMonotonicPath_helper(tree_t, bool)':
/in/p2.cpp:192:103: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
(increasing ? tree_elt(tree_left(tree)) >= elt : tree_elt(tree_left(tree)) <= elt) &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
tree_hasMonotonicPath_helper(tree_left(tree), increasing);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/p2.cpp:195:106: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
(increasing ? tree_elt(tree_right(tree)) >= elt : tree_elt(tree_right(tree)) <= elt) &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
tree_hasMonotonicPath_helper(tree_right(tree), increasing);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/p2.cpp: In function 'opaque_tree* insert_tree(int, tree_t)':
/in/p2.cpp:258:93: error: expected ')' before ';' token
return tree_make(tree_elt(tree), tree_left(tree), insert_tree(elt, tree_right(tree));
^