Live2d Test Env

随笔分类 -  数学——组合数学

摘要: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 阅读全文
posted @ 2017-12-16 14:43 nimphy 阅读(266) 评论(0) 推荐(0)
摘要:(From:离殇灬孤狼) 这个Lucas定理是解决组合数的时候用的,当然是比较大的组合数了。比如C(1000000,50000)% mod,这个mod肯定是要取的,要不算出来真的是天文数字了。 对于一个组合数C(n,k),它等于 n! / ( k! * ( n - k)! ) 我们要求一个mod。但 阅读全文
posted @ 2017-12-15 23:41 nimphy 阅读(277) 评论(0) 推荐(1)