Problem ningning
User Shadow1
Submission Time 2024-12-21 13:32:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ningning.cpp: In function ‘void dfs2(long long int, long long int)’:
ningning.cpp:51:20: error: too many arguments to function ‘void dfs2(long long int, long long int)’
51 | dfs2(v, u, ans[v]);
| ^
ningning.cpp:46:6: note: declared here
46 | void dfs2(int u, int p) {
| ^~~~