组合数
Gee_Zer
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
组合数打表
根据组合数递推公式C(n,m)=C(m−1,n−1)+C(m,n−1); 很容易得到以下代表的代码,m<=10000 LL C[Max][Max]; void Compare_C(){ C[0][0]=1; for(int i=1;i<Max;i++){ C[i][0]=C[i][i]=1; for(int j=1;j<=i;j++...原创 2019-07-14 20:20:25 · 297 阅读 · 0 评论 -
Atcoder ABC132 D - Blue and Red Balls
D - Blue and Red Balls Time Limit: 2 sec / Memory Limit: 1024 MB Score : 400 points Problem Statement There are K blue balls and N−K red balls. The balls of the same color cannot be distinguished. Snu...原创 2019-07-14 20:33:16 · 906 阅读 · 0 评论
分享