Ad
  • Default User Avatar

    Thanks! Good that old solutions still work.

  • Custom User Avatar

    Should be fixed now. The tests are essentially the same, but the fractions get now fully reduced before they're handed to the solver. That way, old solutions still work, the reference solution stays the same.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Sure: you generate a ratio and reduce it before you apply the tests.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I'll have a look on Sunday evening/Monday, but here's what's wrong: the current reference solution only takes the lowest common denominator of all denominators and doesn't check whether all ratios can be reduced to an even smaller denominator. A fix should be rather easy, but it's cumbersome without a proper keyboard.

  • Default User Avatar

    @bkaes: Can you have a look?