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.
This is actually a duplicate kata unfortunately.. nice one though :) http://www.codewars.com/kata/5262119038c0985a5b00029f
More random test cases needed. Some good aproximations may pass due to gaussian distribution nature of generated numbers.
Uhh... I'm not sure if most people notice, but this is the same as http://www.codewars.com/kata/5262119038c0985a5b00029f
BTW I (unfortunately) can't mark this as a major issue, as I don't have enough honor/honour.
CoffeeScript translation added
No examples.
Duplicated as already reported
Duplicate of existing kata Is a number prime?.
Edit: I notice this has been commented on already. I suggest unpublishing the kata if you know it's not going to be approved. Otherwise, it just becomes an opportunity for people to get 3 honor points for copying and pasting their solution to the other kata.
You mean #165?
There should be a possibility to flag Katas as a duplicate. Then a moderator should check this and should be able to reject this kata if it's really a duplicate.
Fixed ^_^
Fixed ^_^
the tests contain defects, why all the random are negative.
Hmm it might but now who cares this kata is not going out of beta anyways...
The random tests all return negative values, because of the way the function is written. Instead of doing min + Math.random() * max, perhaps it should be Math.random() * (max - min) + min.
This is a duplicate.
Just noticed others have reported this as well.
Loading more items...