随笔分类 - 数学——组合数学
摘要:Problem Description Although winter is far away, squirrels have to work day and night to save beans. They need plenty of food to get through those lon
阅读全文
摘要:(From:离殇灬孤狼) 这个Lucas定理是解决组合数的时候用的,当然是比较大的组合数了。比如C(1000000,50000)% mod,这个mod肯定是要取的,要不算出来真的是天文数字了。 对于一个组合数C(n,k),它等于 n! / ( k! * ( n - k)! ) 我们要求一个mod。但
阅读全文

浙公网安备 33010602011771号