closing.cpp: In function 'int max_score(int, int, int, long long int, std::vector<int>, std::vector<int>, std::vector<int>)':
closing.cpp:54:15: error: invalid initialization of reference of type 'std::vector<long long int>&' from expression of type 'std::vector<int>'
54 | dfs(0, 0, distX);
| ^~~~~
closing.cpp:9:52: note: in passing argument 3 of 'void dfs(int, long long int, std::vector<long long int>&)'
9 | void dfs(int curr, long long d, vector<long long> &dist){
| ~~~~~~~~~~~~~~~~~~~^~~~
closing.cpp:56:15: error: invalid initialization of reference of type 'std::vector<long long int>&' from expression of type 'std::vector<int>'
56 | dfs(0, 0, distY);
| ^~~~~
closing.cpp:9:52: note: in passing argument 3 of 'void dfs(int, long long int, std::vector<long long int>&)'
9 | void dfs(int curr, long long d, vector<long long> &dist){
| ~~~~~~~~~~~~~~~~~~~^~~~