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.
.
Usually, an user with 4000 or more honor, can approve/reject a translation. The kata author can approve/reject a translation too, regardless of honor.
I think you need to add specification for infinity - you said the input will be <2 Quadrillion but infinity exceeds this limit.
This was my first time implementing random tests in a kata so I used another reputable author's kata as reference to avoid messing things up.
Basically, it will compare the output from the user's solution against the output from the kata author's solution, using the same randomly generated input value. Perhaps someone with more knowledge/experience can provide a better answer.
After some more additional tests for consistency, the author's recent updates to the kata appear fine and it's now graduated from beta.
@
mimshwright
: Though I tested with several additional tests, I added only two extra test cases to the kata. Also, a correction was made to the kata description where one example showed an incorrect result.@
smile67
: Unfortunately it appears your solution has been invalidated, but a minor adjustment should make it valid once again.N.B.: Though I'm in agreement with @smile67 in regards to approving katas that have invalidated a considerable portion of its users' submitted solutions, I've made an exception in this case after reviewing the kata details and running additional tests to check for consistency.
Update: I've added 10 additional random tests for good measure.
So now it's possible to approve the kata, but with only one or two valid solutions it's my personal issue to approve it;-)...
Attention is not the problem... but all solutions are invalid (and my is not the best:-));-)...
Have to agree with this comment. Kata was instructive but having to continually submit in order to figure out what to do next makes for a pretty lousy user experience.
At which index point would you expect 1 to be in an array of 1 to 100?