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.
Just print
m
and verify manually.For some reason I can't view your solution anymore. "This comment has been hidden" :( (from what I remember, your solution was correct besides that small mistake that you corrected so I don't know why it doesn't pass).
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?
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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution