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.
fixed
The generator was just picking two numbers at random and not checking they were min, max. The solution he used was the same as most people hence they just generated no answers. I just sorted the numbers so they are all min/max so it should be fine.
I think the reason it spazzed is that you were trying to call prime? on something non-existent due to the min/max being mixed up. But at least you are not trying to sort out Haskell error messages. If you were that would have been four pages long.
I like to read your solutions, usually they are smart :) Cheers;)
I would say "quick & dirty", I'm not sure this can be considered a "Best Practice".
; ) )
It's been approved. We now have 6 languages! :] ( 3 of which are C :P )
Thanks to all contributors, and to Frank for starting the whole circus.
OK, we can always add more random tests later.
Thanks! :]
Thanks for your good work,
I approved!
Please see the comment on the translation.
They say it doesn't work for publishing katas or something but I haven't had any problems solving katas on the main site. So I'm not sure when it works and when it doesn't...
Node 8 isn't working properly on the main site, you can use it on preview.codewars.com but not on the main site.
Node 8 worked and it's working right now, that must have been a temporary problem.
by the way: doing the translation in ruby, you get the % for the next rank too, even if you discard the JS solutions (I verified with the python translation)
I thank you for the suggestion, but I can't do Ruby myself.
But I'll try to do a Haskell translation. Would that work for you? :P
But getting a translation approved also gives you honor. From the official honor table solving a purple kata gives you 128 honor while writing a purple translation gives you 256 honor. You see, it's totally a bargain! :D
Mmmmmh, well, might be... ;/ But you at least receive the points for the translation.
Loading more items...