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:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int i = pos; i < mult.size(); 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();
| ~~~^~
/usr/bin/ld: /tmp/ccoSdz4Y.o: in function `main':
grader.c:(.text.startup+0xaa): undefined reference to `init(int, int*, int*)'
collect2: error: ld returned 1 exit status