horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:25:20: warning: declaration of 'N' shadows a global declaration [-Wshadow]
25 | signed init(signed N, signed x[], signed y[]) {
| ~~~~~~~^
horses.cpp:15:5: note: shadowed declaration is here
15 | int N;
| ^
horses.cpp:31:16: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
31 | return calc();
| ~~~~^~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:36:16: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
36 | return calc();
| ~~~~^~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:41:16: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
41 | return calc();
| ~~~~^~