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.
Yeah, figured this out. Removed those bits from my code now... Thanks for the help! :)
This comment is hidden because it contains spoiler information about the solution
@Avanta: I have tried my code on huge numbers that would normally cause memory limits on Python... like n, m being 1, 9223372036854775807 and it works in an instant.
I am really confused now with this error 137... Can't think of a case which would cause MLE.
Thanks for trying my code... So error 137 means MemoryLimitExceeded?
I am not sure how it could happen in my case as I am discarding many numbers that are not needed... I can't even print the case for which this is happening, so I may have to try totally different approach. :/
This comment is hidden because it contains spoiler information about the solution
Happens on all versions of Python. I can give a pastebin link to the code if that helps.
Thanks for the reply... But this happens even when I am not printing anything?!
This comment is hidden because it contains spoiler information about the solution