horses.cpp: In function 'long long int ans()':
horses.cpp:10:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int i = 0; i < mult.size(); i++)
| ~~^~~~~~~~~~~~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:40:26: error: 'N' was not declared in this scope
40 | for(int i = pos; i < N; i++)
| ^
horses.cpp:42:15: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
42 | return ans();
| ~~~^~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:48:15: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
48 | return ans();
| ~~~^~