摘要: 题目链接 题目 There is a n×m board, a chess want to go to the position (n,m) from the position (1,1). The chess is able to go to position (x2,y2) from the p 阅读全文
posted @ 2021-12-07 22:33 zhangtingxi 阅读(24) 评论(0) 推荐(0) 编辑
摘要: Lacus 求: \(\Large C_m^n~mod ~p\) 则: \(\Large C_m^n~mod~p=C_{\frac{m}{p}}^{\frac{n}{p}} \times C_{m~mod~p}^{n~mod~p}~mod~p\) 由于 \(C_{m~mod~p}^{n~mod~p} 阅读全文
posted @ 2021-12-07 17:47 zhangtingxi 阅读(45) 评论(0) 推荐(0) 编辑