Problem ancestor
User PlayVoltz
Submission Time 2023-08-28 23:00:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ancestor.cpp: In function ‘void binarylifting(int, int)’:
ancestor.cpp:20:20: error: too few arguments to function ‘void binarylifting(int, int)’
20 | binarylifting(kid);
| ^
ancestor.cpp:9:6: note: declared here
9 | void binarylifting(int node, int parent){
| ^~~~~~~~~~~~~