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.
Same for JavaScript
Same here
This comment is hidden because it contains spoiler information about the solution
Is this in the instructions? I read them twice and could not find any reference to duplicated values
Using R
you're a savior
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
First of all, the instructions for the R beta are still referencing som python cases. Second, I'm getting an error at the random tests, even though my answers work perfectly on all tests cases.
In R:
The instructions say n has to be within (1,101) but the random tests provide an n=102 argument. Instructions should then state what's the desired output for values greater than 101
No answer, closing.
Remember to state the language you find the issue, in Javascript for instance it is ok. Was it in R?
No.
No, it is because
m
and/orn
aren't natural numbers (positive integers)I've taken a look at the R tests, I can't find a test there where m and n are 0 and expecting 0 as an answer, are you sure?
The sample tests asks that m=0, n=0 returns "INVALID", but the same test is later presented at the "Attempt" stage as a failed test, with the correct answer supposed to be equal to 0, which is a contradiction.
Why is it required to have m=0, n=0 return "INVALID"?
Is it an example of every m=n case?
Is it a trivial case of empty quantities?
Why is the test at the attemp stage expecting a zero then? Very confusing instructions.