
#include#include using namespace std; typedef long long LL; LL C(int a,int b)//求组合数 { LL res=1; for(int i=a,j=1;j<=b;i--,j++) { res=res*i/j; } return res; } int main() { int n,m; cin>>n>>m; cout< 欢迎分享,转载请注明来源:内存溢出

#include#include using namespace std; typedef long long LL; LL C(int a,int b)//求组合数 { LL res=1; for(int i=a,j=1;j<=b;i--,j++) { res=res*i/j; } return res; } int main() { int n,m; cin>>n>>m; cout< 欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)