inline ll muc(ll n,ll m){n%=p,m%=p;return (n*m-(ll)((long double)n*m/p)*p+p)%p;} 转载于:https://www.cnblogs.com/flukehn/p/8409527.html