closing.cpp: In function 'void dfs1(int, int, int)':
closing.cpp:44:18: error: 'mask' was not declared in this scope; did you mean 'std::filesystem::perms::mask'?
44 | dfs1(To.f,v,d,mask);
| ^~~~
| std::filesystem::perms::mask
In file included from /usr/include/c++/10/filesystem:44,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:129,
from closing.cpp:2:
/usr/include/c++/10/bits/fs_fwd.h:152:7: note: 'std::filesystem::perms::mask' declared here
152 | mask = 07777,
| ^~~~
closing.cpp: In function 'int max_score(int, int, int, long long int, std::vector<int>, std::vector<int>, std::vector<int>)':
closing.cpp:71:19: error: too many arguments to function 'void dfs1(int, int, int)'
71 | dfs1(x,-1,1,mask);
| ^
closing.cpp:37:6: note: declared here
37 | void dfs1(int v,int p,int d){
| ^~~~
closing.cpp:76:19: error: too many arguments to function 'void dfs1(int, int, int)'
76 | dfs1(y,-1,1,mask);
| ^
closing.cpp:37:6: note: declared here
37 | void dfs1(int v,int p,int d){
| ^~~~