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.
both were approved, but it seems that the Ruby translation was deleted from the editor at some point
Python should use
describe()
/it()
decorators, approximate equality, explicitimport
oftest
andsolution
C Translation (author inactive).
Lua translation!
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?
Loading more items...