horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:42:9: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
42 | return ans;
| ^~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:45:17: warning: unused parameter 'pos' [-Wunused-parameter]
45 | int updateX(int pos, int val) {
| ~~~~^~~
horses.cpp:45:26: warning: unused parameter 'val' [-Wunused-parameter]
45 | int updateX(int pos, int val) {
| ~~~~^~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:49:17: warning: unused parameter 'pos' [-Wunused-parameter]
49 | int updateY(int pos, int val) {
| ~~~~^~~
horses.cpp:49:26: warning: unused parameter 'val' [-Wunused-parameter]
49 | int updateY(int pos, int val) {
| ~~~~^~~