horses.cpp: In function 'long long int updateX(int, int)':
horses.cpp:27:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
horses.cpp:25:23: warning: unused parameter 'pos' [-Wunused-parameter]
long long updateX(int pos, int val){
^~~
horses.cpp:25:32: warning: unused parameter 'val' [-Wunused-parameter]
long long updateX(int pos, int val){
^~~
horses.cpp: In function 'long long int updateY(int, int)':
horses.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
horses.cpp:29:23: warning: unused parameter 'pos' [-Wunused-parameter]
long long updateY(int pos, int val){
^~~
horses.cpp:29:32: warning: unused parameter 'val' [-Wunused-parameter]
long long updateY(int pos, int val){
^~~