摘要: Description "题库链接" 求 $$C_n^m \mod p$$ $1\leq m\leq n\leq 10^{18},2\leq p\leq 1000000$ Solution 一般的 $Lucas$ 是在模数 $p$ 是质数的条件下适用的。我们来考虑 $p$ 不是质数的条件。 我们对 阅读全文
posted @ 2018-02-10 15:56 NaVi_Awson 阅读(228) 评论(0) 推荐(0) 编辑