horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:40:17: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
40 | return year[0].second;
| ~~~~~~~~^~~~~~
horses.cpp:31:8: warning: unused variable 'res' [-Wunused-variable]
31 | ll res = x[0];
| ^~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:43:17: warning: unused parameter 'pos' [-Wunused-parameter]
43 | int updateX(int pos, int val){
| ~~~~^~~
horses.cpp:43:26: warning: unused parameter 'val' [-Wunused-parameter]
43 | int updateX(int pos, int val){
| ~~~~^~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:47:17: warning: unused parameter 'pos' [-Wunused-parameter]
47 | int updateY(int pos, int val){
| ~~~~^~~
horses.cpp:47:26: warning: unused parameter 'val' [-Wunused-parameter]
47 | int updateY(int pos, int val){
| ~~~~^~~