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.
Hard to judge now as I alrady solved it by the time I updated the comment.
Anyways, thanks for the response.
Which language?
Is it ok already? I can't solve it. All tests are fine except "Already perfect numbers". I am stuck pls help
I'll mark it as resolved.
Let's see the first sentence:
value there is 12385 and pow_ is 3, the answer is 13824 that's 243
Does that help?
This comment is hidden because it contains spoiler information about the solution
Fork with almost all that fixed: https://www.codewars.com/kumite/62f64c2f2a9bef00525d621b?sel=62f64c2f2a9bef00525d621b
But, I left
pow_
as it is, just to not create a code block in the description and keep the argument's name the same for every language. In javascriptpow
isn't a reserved keyword.BTW: the random tests compared the result of the control function to itself. So this invalid solution worked: https://www.codewars.com/kata/reviews/56bb271b6ee8d209be000054/groups/62f668c5094ade0001c080da
Check the control function doesn't fail those tests, at least javascript one used ceil.
This code is not correct. Random tests are incomplete in several languages, that's why your solution can pass them. This is related to the issue opened just below.
Thanks for the reply. Sorry I am new to all of this!
i tried other peoples solutions and that last test seems to pass which makes me think it's a problem with my code? Or is it definitely a bug in the kata?
This is not an issue (= a bug in the kata).
This comment is hidden because it contains spoiler information about the solution