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.
The idea is that no number from the interval (n/2, n) will ever be a divisor of n.
the sample test that i can see is:
there are 5
i
s there, so the last one stays. You may have inadvertently modified the sample tests. I'm closing as this does not seem to be a kata issue, but feel free to come back if you have more informationYour solution is prone to problems with accuracy of floating point numbers:
Your solution is buggy, it's not a kata issue.