/in/p2.cpp: In function 'int tree_sum(tree_t)':
/in/p2.cpp:313:28: warning: no return statement in function returning non-void [-Wreturn-type]
int tree_sum(tree_t tree) {}
^
/in/p2.cpp: In function 'bool tree_search(tree_t, int)':
/in/p2.cpp:319:41: warning: no return statement in function returning non-void [-Wreturn-type]
bool tree_search(tree_t tree, int val) {}
^
/in/p2.cpp: In function 'int depth(tree_t)':
/in/p2.cpp:325:25: warning: no return statement in function returning non-void [-Wreturn-type]
int depth(tree_t tree) {}
^
/in/p2.cpp: In function 'int tree_max(tree_t)':
/in/p2.cpp:351:28: warning: no return statement in function returning non-void [-Wreturn-type]
int tree_max(tree_t tree) {}
^
/in/p2.cpp: In function 'opaque_list* traversal(tree_t)':
/in/p2.cpp:358:32: warning: no return statement in function returning non-void [-Wreturn-type]
list_t traversal(tree_t tree) {}
^
/in/p2.cpp: In function 'bool tree_hasMonotonicPath(tree_t)':
/in/p2.cpp:390:42: warning: no return statement in function returning non-void [-Wreturn-type]
bool tree_hasMonotonicPath(tree_t tree) {}
^
/in/p2.cpp: In function 'bool tree_allPathSumGreater(tree_t, int)':
/in/p2.cpp:424:52: warning: no return statement in function returning non-void [-Wreturn-type]
bool tree_allPathSumGreater(tree_t tree, int sum) {}
^
/in/p2.cpp: In function 'bool covered_by(tree_t, tree_t)':
/in/p2.cpp:453:38: warning: no return statement in function returning non-void [-Wreturn-type]
bool covered_by(tree_t A, tree_t B) {}
^
/in/p2.cpp: In function 'bool contained_by(tree_t, tree_t)':
/in/p2.cpp:458:40: warning: no return statement in function returning non-void [-Wreturn-type]
bool contained_by(tree_t A, tree_t B) {}
^
/in/p2.cpp: In function 'opaque_tree* insert_tree(int, tree_t)':
/in/p2.cpp:464:43: warning: no return statement in function returning non-void [-Wreturn-type]
tree_t insert_tree(int elt, tree_t tree) {}
^