horses.c: In function 'solve':
horses.c:16:7: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
16 | x = (long long) x * xx[i] % MD;
| ^
horses.c:18:28: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
18 | p = yy[i], q = 1, ans = (long long) x * yy[i] % MD;
| ^
horses.c: In function 'init':
horses.c:25:20: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
25 | memcpy(xx, xx_, n * sizeof *xx_), memcpy(yy, yy_, n * sizeof *yy_);
| ^
horses.c:25:54: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
25 | memcpy(xx, xx_, n * sizeof *xx_), memcpy(yy, yy_, n * sizeof *yy_);
| ^