摘要: ll fac[N], inv_fac[N]; ll q_pow(ll a, ll b, ll mod) { ll ret = 1; for (ll x = a; b; b >>= 1, (x*=x)%=mod){if (b&1)(ret *= x)%=mod;} return ret; } ll i 阅读全文
posted @ 2021-08-12 08:36 u_yan 阅读(43) 评论(0) 推荐(0) 编辑