zcmimi's blog

arrow_backexlucas共1篇文章

avatar
zc
2020-05-02 11:52:00
查看原题

点击跳转

ans={n\choose w_1}\cdot {n-w_1\choose w_2}\cdot {n-w_1-w_2\choose w_3}\cdots {n-w_1-w_2-\dots -w_{m-1}\choose w_m}

套扩展卢卡斯即可

1/1
Search
search