Ad
  • Default User Avatar

    Yes @cdipietro11 I am encountering the same problems. Also, I have verified that the code is mathematically correct. Yet i am getting whole number solutions in test cases when the expected result is -1. Could someone help me out with this?

  • Default User Avatar

    Thanks for the suggestion! It helped me correct the mistake I was making.
    Unfortunately I am still getting integer solutions in some cases where the expected result is -1. As a result I couldn't pass the random tests.

  • Default User Avatar

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

  • Default User Avatar

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