horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:24:15: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
24 | for(int i = N-2;i>=0;i--)suf[i] = suf[i+1]*arr[i];
| ~^~
horses.cpp:31:23: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
31 | return (ans*brr[tar])%mod;
| ~~~~~~~~~~~~~~^~~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:34:17: warning: unused parameter 'pos' [-Wunused-parameter]
34 | int updateX(int pos, int val) {
| ~~~~^~~
horses.cpp:34:26: warning: unused parameter 'val' [-Wunused-parameter]
34 | int updateX(int pos, int val) {
| ~~~~^~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:38:17: warning: unused parameter 'pos' [-Wunused-parameter]
38 | int updateY(int pos, int val) {
| ~~~~^~~
horses.cpp:38:26: warning: unused parameter 'val' [-Wunused-parameter]
38 | int updateY(int pos, int val) {
| ~~~~^~~