Problem treecutting
User PlayVoltz
Submission Time 2023-10-31 22:38:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treecutting.cpp: In function ‘int main()’:
treecutting.cpp:51:19: error: too many arguments to function ‘void dfs2(int, int, int)’
51 | dfs2(0, -1, -1, 0);
| ^
treecutting.cpp:18:6: note: declared here
18 | void dfs2(int node, int par, int extra){
| ^~~~