fn div_ceil(numerator: usize, denominator: usize) -> usize {
    let floor = numerator / denominator;
    let rem = numerator % denominator;
    if rem == 0 { floor } else { floor + 1 }
}
// odd that this isn't in the stdlib, but apparently neither is divmod!
odd that this isn't in the stdlib, but apparently neither is divmod!
odd that this isn ' t in the stdlib but apparently neither is divmod!
fn div_ceil(numerator: usize, denominator: usize) -> usize {
    let floor = numerator / denominator;
    let rem = numerator % denominator;
    if rem == 0 { floor } else { floor + 1 }
}
fn div_ceil ( numerator : usize , denominator : usize ) -> usize { let floor = numerator / denominator ; let rem = numerator % denominator ; if rem == 0 { floor } else { floor + 1 } }
odd that this isn't in the stdlib, but apparently neither is divmod!
odd that this isn ' t in the stdlib but apparently neither is divmod!
numerator
usize
denominator
usize
numerator
usize
denominator
usize