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.
Hi @chefcurrry - as you can see, this is a 4 kyu kata so it would be a bit easy if you could just use your current solution - indeed, the description says:
"Python: your solution need to work with huge numbers (about a milion digits), converting to int will not work."
That's why you are timing out (you can try 1million digit inputs on your computer, see if your code works with those inputs!).
So you need to find a different approach to solving this kata.
This comment is hidden because it contains spoiler information about the solution
sorry but i didn't get it:((
Please use spoiler flag next time.