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.
A very interesting kata. A little clumsy, but I decided
This comment is hidden because it contains spoiler information about the solution
ss stst
ss ttt
tstt
tnst
nnn, 5 % -3 Expected: equal to "-1" How?
Can anyone tell me how the remainder of the division is implemented in the tests?
Thanks for the answer, but I use 'double' everywhere. I suppose the problem is the verification
I keep getting messages like this: Expected: equal to -576.043 (+/- 1e-06)
Actual: -576.043. I think the authors should read this article.: https://docs.codewars.com/authoring/recipes/floating-point/
and work on the tests.
This means two things:
I did not oslve the kata so I cannot verify your solution. Make sure you use as precise data types (
double
and notfloat
) as possible. The messages have to be fixed though.Who can explain why this conclusion:
Expected: equal to 793.194 (+/- 1e-06)
Actual: 793.194.
What's wrong here?
Expected: equal to 640638 (+/- 1e-06)
Actual: 640638
What's it?
Stuck on the 11th test from Random_Tests_2