horses.cpp: In function 'int init(int, std::vector<int>, std::vector<int>)':
horses.cpp:45:12: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
45 | return mx;
| ^~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:79:12: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
79 | return mx;
| ^~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:113:12: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
113 | return mx;
| ^~
/usr/bin/ld: /tmp/cchVG67Q.o: in function `main':
grader.c:(.text.startup+0xaa): undefined reference to `init(int, int*, int*)'
collect2: error: ld returned 1 exit status