choose.h 317 B

1234567891011
  1. #if !defined(_choose_H)
  2. # define _choose_H (1)
  3. /*Computes the number of combinations of _n items, taken _m at a time without
  4. overflow.
  5. _n: The total number of items.
  6. _b: The number taken at a time.
  7. Return: The number of combinations of _n items taken _m at a time.*/
  8. unsigned choose(int _n,int _m);
  9. #endif