Ad
  • Default User Avatar

    Your solution was throwing when it shouldn't, and tests would pass you when that happened, thus causing you to pass things you shouldn't have.

    This is no longer the case. So this is at the very least partially solved.

    Then another matter is whether the random tests cover enough special cases and such, but I'm choosing to interpret this issue as having to do with the incorrectly handled exceptions. Do create another issue if you find that tests still exhibit similar behaviour after having fixed your exceptions. Ideally identify what kind of tests would be needed as well, which may be easier for you to do since you know what's wrong in the code.

  • Default User Avatar

    Because "c" has no votes in the first round, they are eliminated first.