closing.cpp: In function 'int max_score(int, int, int, long long int, std::vector<int>, std::vector<int>, std::vector<int>)':
closing.cpp:23:13: error: cannot convert 'long long int*' to 'int*'
23 | dfs(X, -1, dep1);
| ^~~~
| |
| long long int*
closing.cpp:9:34: note: initializing argument 3 of 'void {anonymous}::dfs(int, int, int*)'
9 | void dfs(int node, int par, int dep[]){
| ~~~~^~~~~
closing.cpp:24:13: error: cannot convert 'long long int*' to 'int*'
24 | dfs(Y, -1, dep2);
| ^~~~
| |
| long long int*
closing.cpp:9:34: note: initializing argument 3 of 'void {anonymous}::dfs(int, int, int*)'
9 | void dfs(int node, int par, int dep[]){
| ~~~~^~~~~