Ad
  • Custom User Avatar

    Hi f.rodrigues,

    My solution works on the simple test case then when I try to submit I get:

    Passes on Invalid puzzles
    Passes on Unsolvable puzzle
    Passes on More than one answer
    Fails (I think) on Should solve an easy puzzle - not sure, if this is the same as the first test case then I should pass

    This is as far as the output goes but I get a StdError suggesting that my code does not handle this last test case.

    Are you able to share this last test case?

    Thanks

  • Custom User Avatar

    Hi f.rodrigues,

    My solution works on the simple test case then when I try to submit I get:

    Passes on Invalid puzzles
    Passes on Unsolvable puzzle
    Passes on More than one answer
    Fails (I think) on Should solve an easy puzzle - not sure, if this is the same as the first test case then I should pass

    This is as far as the output goes but I get a StdError suggesting that my code does not handle this last test case.

    Are you able to share this last test case?

    Thanks

  • Custom User Avatar
  • Custom User Avatar

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

  • Custom User Avatar

    What language? Also you could post your attmepted solution here (mark it as spoiler), that may help to find the bug.

  • Custom User Avatar

    Confused:

    I pass 90 tests with no failures in <400ms yet I get
    this STDERR:

    -c:29: RuntimeWarning: divide by zero encountered in long_scalars

    with no further explanation (i.e. there is no indication of the
    input that fails the test). I am suspecting that it's a precision problem
    for larger integer inputs but haven't figured this out yet.

    Any guidance?