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.
Resolved.
56385ms
is56.385s
, as you can see in example1.555
should not be rounded to1.56
. So the answer for this will be56.38s
.It may seems like these katas are similar, but each of it contains unique logic of formating time. Also, the purpose of my kata is to simulate node's
console.time
. For that reason it could be interesting :)Thanks a lot. I will add some tests later.
Ok, I have updated the description. I hope it's clear now :)
It's 70 seconds, so the expected output is 1.17m (1.17 * 1000 * 60 ~ 70000). The answer also needs to be rounded.
Actually, in description I provided information about weeks unit. We need to leave a number of days as it is wihout calculating weeks. I need to fix test cases.
The task said: "Return an array, where the first element is the count of positives numbers...".
0
is neither positive nor negative. You should correct the description.@Kacarott
What about "Fixed tests". Are not those tests which are located on the right side of the task screen?
Fixed.
Fixed my solution.
Actually, why not? I also was wondering should I add a falsy value like
undefined
or not, becausesort
function skips undefined.Sorry for confusing you, but how can I prevent user from changing the tests input?
There is a rule that N will always be > 0, but in tests I'm getting N = 0 (eg. N=0 X='w' Y='#'). Please, fix it.
Thanks.
Thanks for the feedback. I have fixed all issues. Please, notify me if something is still wrong.
Loading more items...