Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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
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
OK thanks. That did it.
This comment is hidden because it contains spoiler information about the solution
What language? Also you could post your attmepted solution here (mark it as spoiler), that may help to find the bug.
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?