descore ~master (2015-04-21T20:17:28Z)
Dub
Repo
combination
des
math
combin
equals to fact(n) / ( fact(k) * fact( n-k ) )
long
combination
pure nothrow
(
long
n
,
long
k
)
in { assert (k > 0); assert (n >= 0); }
out (res) { assert (res >= 0); }
Meta
Source
See Implementation
des
math
combin
functions
combination
fact
partial_permutation
equals to fact(n) / ( fact(k) * fact( n-k ) )