Closed BD103 closed 3 months ago
There's a large chance of overflow with u64. ncr() should switch to u128 and manually handle overflow. (Perhaps return u128::MAX based on the scenario?)
u64
ncr()
u128
u128::MAX
Closed in c3c30fb.
There's a large chance of overflow with
u64
.ncr()
should switch tou128
and manually handle overflow. (Perhaps returnu128::MAX
based on the scenario?)