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.
Excellent kata.
Great kata. And my first rank 3. Author did a great job.
Nice kata.
Nice kata.
Fun kata and correctly ranked.
This comment is hidden because it contains spoiler information about the solution
A perfect rank 5 kata. And a fun little challenge.
you are using global variables, don't do that. they keep their values between function calls
OP solved it, closing
This comment is hidden because it contains spoiler information about the solution
Reading the description should make the condition for m being undefined very obvious.
There are certain conditions that imply that there is no m. If you look carefully at the sample tests, those conditions might become clear. I can't really say more without adding a spoiler.
tbh, upon appropriate reflection, I agree that full disclosure with explicit specs is generally the best approach
Thanks. I made a rank 6 kata a while back and was told I had to let users know in the description that BigInt would be needed. I don't think they would have accepted "very very LARGE" numbers. But who knows, maybe they would've. But that was not the vibe. Anyway, thanks for the add. My code is timing out. Is there a way to know if m exists or not(a Boolean)?
Indeed. I think that's very very justified for a number with thousands of digits.
Loading more items...