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.
Resolving; almost certainly not a kata issue.
There are plenty of working C++ solutions and I've just written another to double-check - the random tests do not seem to have any issues, and I attempted them many times to be sure.
You can attach your code here as long as you're using spoiler tags. I suggest however that you're probably just mishandling floats; it would be easy to do so on this kata and the solution as described in the instructions works otherwise.
This comment is hidden because it contains spoiler information about the solution