horses.cpp: In constructor 'Solver::Solver(const std::vector<int>&, const std::vector<int>&)':
horses.cpp:30:57: warning: declaration of 'arr_y' shadows a member of 'Solver' [-Wshadow]
30 | Solver(const vector<int>& arr_x, const vector<int>& arr_y)
| ~~~~~~~~~~~~~~~~~~~^~~~~
horses.cpp:28:24: note: shadowed declaration is here
28 | vector<int> arr_x, arr_y;
| ^~~~~
horses.cpp:30:31: warning: declaration of 'arr_x' shadows a member of 'Solver' [-Wshadow]
30 | Solver(const vector<int>& arr_x, const vector<int>& arr_y)
| ~~~~~~~~~~~~~~~~~~~^~~~~
horses.cpp:28:17: note: shadowed declaration is here
28 | vector<int> arr_x, arr_y;
| ^~~~~
horses.cpp: In constructor 'Solver::Solver(const std::vector<int>&, const std::vector<int>&)':
horses.cpp:30:57: warning: declaration of 'arr_y' shadows a member of 'Solver' [-Wshadow]
30 | Solver(const vector<int>& arr_x, const vector<int>& arr_y)
| ~~~~~~~~~~~~~~~~~~~^~~~~
horses.cpp:28:24: note: shadowed declaration is here
28 | vector<int> arr_x, arr_y;
| ^~~~~
horses.cpp:30:31: warning: declaration of 'arr_x' shadows a member of 'Solver' [-Wshadow]
30 | Solver(const vector<int>& arr_x, const vector<int>& arr_y)
| ~~~~~~~~~~~~~~~~~~~^~~~~
horses.cpp:28:17: note: shadowed declaration is here
28 | vector<int> arr_x, arr_y;
| ^~~~~
horses.cpp: In constructor 'Solver::Solver(const std::vector<int>&, const std::vector<int>&)':
horses.cpp:30:57: warning: declaration of 'arr_y' shadows a member of 'Solver' [-Wshadow]
30 | Solver(const vector<int>& arr_x, const vector<int>& arr_y)
| ~~~~~~~~~~~~~~~~~~~^~~~~
horses.cpp:28:24: note: shadowed declaration is here
28 | vector<int> arr_x, arr_y;
| ^~~~~
horses.cpp:30:31: warning: declaration of 'arr_x' shadows a member of 'Solver' [-Wshadow]
30 | Solver(const vector<int>& arr_x, const vector<int>& arr_y)
| ~~~~~~~~~~~~~~~~~~~^~~~~
horses.cpp:28:17: note: shadowed declaration is here
28 | vector<int> arr_x, arr_y;
| ^~~~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:53:17: warning: unused parameter 'pos' [-Wunused-parameter]
53 | int updateX(int pos, int val) {
| ~~~~^~~
horses.cpp:53:26: warning: unused parameter 'val' [-Wunused-parameter]
53 | int updateX(int pos, int val) {
| ~~~~^~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:56:17: warning: unused parameter 'pos' [-Wunused-parameter]
56 | int updateY(int pos, int val) {
| ~~~~^~~
horses.cpp:56:26: warning: unused parameter 'val' [-Wunused-parameter]
56 | int updateY(int pos, int val) {
| ~~~~^~~