horses.cpp: In function 'long long int updateX(int, int)':
horses.cpp:17:1: warning: no return statement in function returning non-void [-Wreturn-type]
17 | }
| ^
horses.cpp:14:16: warning: unused parameter 'pos' [-Wunused-parameter]
14 | ll updateX(int pos, int val)
| ~~~~^~~
horses.cpp:14:25: warning: unused parameter 'val' [-Wunused-parameter]
14 | ll updateX(int pos, int val)
| ~~~~^~~
horses.cpp: In function 'long long int updateY(int, int)':
horses.cpp:22:1: warning: no return statement in function returning non-void [-Wreturn-type]
22 | }
| ^
horses.cpp:19:17: warning: unused parameter 'pos' [-Wunused-parameter]
19 | ll updateY(int pos, int val)
| ~~~~^~~
horses.cpp:19:26: warning: unused parameter 'val' [-Wunused-parameter]
19 | ll updateY(int pos, int val)
| ~~~~^~~