Ad
  • Custom User Avatar

    Rust:

    Remainder can not be greater than the largest k.

    There is no such restriction in the description.


    From the description:

    Where every ki > 1 and every ki is maximized ...

    The elements in the returned vector ($k_i$) must be strictly greater than 1.

    However, your vector does contain 1 at the end.

    Not a kata issue.