0_0_39487583_19264.cpp: In function 'void dfs(long long int, long long int)':
0_0_39487583_19264.cpp:65:12: error: too few arguments to function 'void add(long long int, long long int, long long int, long long int)'
65 | add(top[u], 0, 0);
| ~~~^~~~~~~~~~~~~~
0_0_39487583_19264.cpp:32:6: note: declared here
32 | void add(int pos, int num, int val,int minus) {
| ^~~
0_0_39487583_19264.cpp:66:12: error: too few arguments to function 'void add(long long int, long long int, long long int, long long int)'
66 | add(top[u], c[u], w[u]);
| ~~~^~~~~~~~~~~~~~~~~~~~
0_0_39487583_19264.cpp:32:6: note: declared here
32 | void add(int pos, int num, int val,int minus) {
| ^~~
|