horses.cpp: In function 'int ans()':
horses.cpp:38:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<num>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(int i = 0; i < mult.size(); i++)
| ~~^~~~~~~~~~~~~
horses.cpp:41:19: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
41 | tmp *= y[i];
| ^
horses.cpp:45:19: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
45 | return maxVal.b;
| ~~~~~~~^
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:61:19: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
61 | tmp *= x[i];
| ^
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:80:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<num>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for(int i = pos; i < mult.size(); i++)
| ~~^~~~~~~~~~~~~
horses.cpp:83:19: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
83 | tmp *= x[i];
| ^