horses.cpp: In function 'long long unsigned int srch(int, long long unsigned int)':
horses.cpp:29:10: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
29 | if(dp[i]!=-1)return dp[i];
| ~~~~~^~~~
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:52:8: warning: conversion from 'long long unsigned int' to 'double' may change value [-Wconversion]
52 | while(a <= 1e10 && k >= 0){
| ^
horses.cpp:58:12: warning: conversion from 'long long unsigned int' to 'int' may change value [-Wconversion]
58 | return res%MOD;
| ~~~^~~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:65:8: warning: conversion from 'long long unsigned int' to 'double' may change value [-Wconversion]
65 | while(a <= 1e10 && k >= 0){
| ^
horses.cpp:75:12: warning: conversion from 'long long unsigned int' to 'int' may change value [-Wconversion]
75 | return res%MOD;
| ~~~^~~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:82:8: warning: conversion from 'long long unsigned int' to 'double' may change value [-Wconversion]
82 | while(a <= 1e10 && k >= 0){
| ^
horses.cpp:92:12: warning: conversion from 'long long unsigned int' to 'int' may change value [-Wconversion]
92 | return res%MOD;
| ~~~^~~~