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.
I tried to reproduce, but was unable to do so; all clues are non-zero. Did you use
clues[i]
to check your clues?Exclude 1 please. I edit the third requirement just to have a clearer explanation. Thanks for the feedback. Hope that you can solve it.
I modified the way solutions are tested when you "ATTEMPT" or "SUBMIT FINAL" but it is impossible to re-publish (see https://github.com/Codewars/codewars.com/issues/1375). Maybe later...
Edit: a bad click and the R version has been deleted.
In some cases there can be different solutions but I test only one. I will change the range of the random tests. Tell me if it works with these changes.
I am very sorry! There was a typo. Seems to work now. Could you try it and mark the issue as resolved if it works for you.