/in/p2.cpp: In function 'bool tree_hasMonotonicPath(tree_t)':
/in/p2.cpp:290:12: error: 'tree_MonoInc_helper' was not declared in this scope
return tree_MonoInc_helper(tree) || tree_MonoDec_helper(tree);
^~~~~~~~~~~~~~~~~~~
/in/p2.cpp:290:12: note: suggested alternative: 'tree_max_helper'
return tree_MonoInc_helper(tree) || tree_MonoDec_helper(tree);
^~~~~~~~~~~~~~~~~~~
tree_max_helper
/in/p2.cpp:290:41: error: 'tree_MonoDec_helper' was not declared in this scope
return tree_MonoInc_helper(tree) || tree_MonoDec_helper(tree);
^~~~~~~~~~~~~~~~~~~
/in/p2.cpp:290:41: note: suggested alternative: 'tree_max_helper'
return tree_MonoInc_helper(tree) || tree_MonoDec_helper(tree);
^~~~~~~~~~~~~~~~~~~
tree_max_helper
/in/p2.cpp: In function 'bool tree_allPathSumGreater(tree_t, int)':
/in/p2.cpp:327:12: error: 'tree_PSSmaller_helper' was not declared in this scope
return tree_PSSmaller_helper(tree, sum) ? false : true;
^~~~~~~~~~~~~~~~~~~~~
/in/p2.cpp:327:12: note: suggested alternative: 'tree_max_helper'
return tree_PSSmaller_helper(tree, sum) ? false : true;
^~~~~~~~~~~~~~~~~~~~~
tree_max_helper