摘要: 考虑组合数$C_^$ 其实他们的方案数就是杨辉三角 此时有一个递推式 c[i][j]=c[i-1][j]+c[i-1][j]; #include<bits/stdc++.h> using namespace std; const int N=1000; const int mod=1e9+7; co 阅读全文
posted @ 2020-09-16 20:59 邦的轩辕 阅读(319) 评论(0) 推荐(0) 编辑