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.
random tests could be improved for solutions like this
.
Nice kata, it really depends on what approach you're adopting for the solution.
This is 7kyu level
This comment is hidden because it contains spoiler information about the solution
Print the input value too.
Probably it's a matter of precision
I don't understand what random tests are telling me,
I check in the IDE and everything works.
The same test passes successfully.
What does he see wrong? My code is extremely simple.
On some random tests it gives the following
Expected: 719.5, instead got: 720
I can't figure out where this is coming from.
In the IDE, the tests pass just fine. Help me please.
By brute force it eventually passed, I looked to see if the most voted codes did better and I got the same result.
Faced this problem. Were you able to solve it?
Ranks of approved katas cannot be changed. FYI, see this to understand how katas are ranked: https://docs.codewars.com/concepts/kata/beta-process
If you are not happy with rankings, the only way is to get involved in beta validation process.
sorry, but this kata too easy for 6 kyu
Sometimes we have tests that expect a float as output, for example :
It should work for random tests too: 45.5 should equal 45.0
It should work for random tests too: 535.5 should equal 535.0
It should work for random tests too: 711.5 should equal 711.0
It should work for random tests too: 829.5 should equal 829.0
approved
Loading more items...