desmath ~master (2021-12-18T03:28:57.6940602)
Dub
Repo
combinationCount
des
math
combin
count
equals to fact(n) / ( fact(k) * fact( n-k ) )
pure nothrow
long
combinationCount
(
long
n
,
long
k
)
out (res) { assert (res >= 0); }
Meta
Source
See Implementation
des
math
combin
count
functions
combinationCount
fact
partialPermutationCount
equals to fact(n) / ( fact(k) * fact( n-k ) )