Ad
  • Default 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

  • Default 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

  • Default User Avatar
  • Default User Avatar

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

  • Default 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?