摘要:
小郭的矩形 ——洋葱式推式子+拆组合数递推式子+\({0\choose 0}\) 不能拆+等式两边同时前缀和 题目描述 \[f(i,j)=\begin{cases}p\times f(i-1,j)+q\times (i,j-1)+c&&i\geq1,j\geq1\\a_i&&i\geq1,j=0\\ 阅读全文
posted @ 2025-01-20 20:56
lupengheyyds
阅读(17)
评论(0)
推荐(0)
摘要:
绝对伏特加 题目:有 \(n\) 个等概率在 \([1,K]\) 中生成的数,设 \(a_i\) 表示 \(i\) 出现的次数,求 \(E(\prod_{i=1}^La_i^F)\bmod 2003\)。 \(n,k\le 10^9,F\le 10^3,F\times L\le 5\times 10 阅读全文
posted @ 2025-01-20 09:53
lupengheyyds
阅读(19)
评论(0)
推荐(0)

浙公网安备 33010602011771号