/in/p2.cpp: In function 'bool isIncreasing(list_t)':
/in/p2.cpp:167:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/driver/driver.cpp: In function 'int main()':
/in/driver/driver.cpp:30:21: error: 'sum' was not declared in this scope
cout << sum(list) << endl;
^~~
/in/driver/driver.cpp:34:21: error: 'product' was not declared in this scope
cout << product(list) << endl;
^~~~~~~
/in/driver/driver.cpp:34:21: note: suggested alternative: 'accProduct'
cout << product(list) << endl;
^~~~~~~
accProduct
/in/driver/driver.cpp:40:21: error: 'accumulate' was not declared in this scope
cout << accumulate(list, accOp[type], base) << endl;
^~~~~~~~~~
/in/driver/driver.cpp:57:21: error: 'filter_even' was not declared in this scope
cout << filter_even(list) << endl;
^~~~~~~~~~~
/in/driver/driver.cpp:57:21: note: suggested alternative: 'filter_odd'
cout << filter_even(list) << endl;
^~~~~~~~~~~
filter_odd
/in/driver/driver.cpp:94:21: error: 'tree_min' was not declared in this scope
cout << tree_min(tree) << endl;
^~~~~~~~
/in/driver/driver.cpp:94:21: note: suggested alternative: 'tree_max'
cout << tree_min(tree) << endl;
^~~~~~~~
tree_max
/in/driver/driver.cpp:103:21: error: 'tree_hasPathSum' was not declared in this scope
cout << tree_hasPathSum(tree, n) << endl;
^~~~~~~~~~~~~~~
/in/driver/driver.cpp:103:21: note: suggested alternative: 'tree_sum'
cout << tree_hasPathSum(tree, n) << endl;
^~~~~~~~~~~~~~~
tree_sum