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.
retired
Duplicate?
https://docs.codewars.com/authoring/guidelines/submission-tests#random-tests
Fixed.
Short and sweet!
There are tests where
max
<base
, but with the wrong result, e.g.:The number of words needed to read numbers up to
4
is 5 (including0
) or4
(excluding0
), not 10.Same bug in random tests.
This Solar System doesn't start with the Sun.
Both things solved
IMHO the best solution is:
The "round to two decimal places" was there originally since the beginning, and the original Python translation translated the requirement, so the large tolerance is not something introduced by this fork.
If you think that 0.01 is too much, we can adjust it to a reasonable value in all currently available languages (1 approved and 1 pending). OTOH I wonder if 0.01 is not good enough when talking about ohms and resistances?
A tolerance of 0.01 is unreasonably large. In languages without backward compatibility problems (all except js), the default tolerance is ok.
.
wait, strings can be compared??!
you are calling the function, not returning a new function as asked by the kata
Loading more items...