Skip to main content

compute

Function compute 

Source
fn compute(
    input: &[i32],
    start: usize,
    upper: usize,
    nck: &[(i32, usize)],
) -> [i32; 8]
Expand description

Quickly computes a digit taking advantage of the fact that the LCM is much smaller than the whole range.