10 lines
129 B
C
10 lines
129 B
C
|
|
#include <math.h>
|
|
|
|
float bico(int n, int k)
|
|
{
|
|
float factln(int n);
|
|
|
|
return floor(0.5+exp(factln(n)-factln(k)-factln(n-k)));
|
|
}
|