摘要:
组合计数 错排问题 具体见这~ exLucas 具体见这~ \[\mathbb{END} \] 阅读全文
posted @ 2025-05-05 21:07
tyh_27
阅读(18)
评论(0)
推荐(0)
摘要:
exLucas 前置知识:EXCRT(或 CRT) 题面 给定整数 \(n,m,p\) 的值,求出 \(\binom{n}{m} \bmod p\) 的值,但不保证 \(p\) 为质数,\(n,m \leq 10^{18}\)。 做法 此时用 Lucas 定理显然是不行的(说实话 exLucas 的 阅读全文
posted @ 2025-05-05 20:19
tyh_27
阅读(30)
评论(0)
推荐(0)

浙公网安备 33010602011771号