摘要:
#includeint main(){int m,n;float fact(int n);float result;scanf("%d%d",&m,&n);if(m>=n&&n>=0){result=fact(m)/(fact(n)*fact(m-n));}else {return 0;}printf("%.0f\n",result);return 0;}float fact(int n){int i;float sum;sum=1;for(i=1;i<=n;i++){sum=sum*i;}return 阅读全文