horses.cpp: In function 'long long int init(int, int*, int*)':
horses.cpp:7:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
horses.cpp:5:20: warning: unused parameter '_n' [-Wunused-parameter]
long long init(int _n, int _x[], int _y[]){
^~
horses.cpp:5:31: warning: unused parameter '_x' [-Wunused-parameter]
long long init(int _n, int _x[], int _y[]){
^
horses.cpp:5:41: warning: unused parameter '_y' [-Wunused-parameter]
long long init(int _n, int _x[], int _y[]){
^
horses.cpp: In function 'long long int updateX(int, int)':
horses.cpp:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
horses.cpp:9:23: warning: unused parameter 'pos' [-Wunused-parameter]
long long updateX(int pos, int val){
^~~
horses.cpp:9: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:15:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
horses.cpp:13:23: warning: unused parameter 'pos' [-Wunused-parameter]
long long updateY(int pos, int val){
^~~
horses.cpp:13:32: warning: unused parameter 'val' [-Wunused-parameter]
long long updateY(int pos, int val){
^~~