有关排列组合的运算式
排列组合有P C H 等运算
这是C的运算喔
例如:C(9,6)=84
/* ------------------------------------------------------ */
/* FUNCTION cnr : */
/* Given unsigned integers n and r, this function */
/* computes C(n,r), the Binomial Coefficient of n and r */
/* by using addition operation only. The method used */
/* calculates C(n,r) with exactly (n-1)*(r-1) additions */
/* and this is fewer than many known techniques. ..
访客只能看到部份内容,免费 加入会员 或由脸书 Google 可以看到全部内容