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.
If it's timing out then you have to make your solution more efficient. Remember it's taking 2^32 - 1 as its max int.
You have to pass that case and all others in 6 seconds. Maybe you have more time on your computer's compiler
Btw, with this timeout - this kata should be at least 4 kyu
try to submit again - if you still getting an error - then your code is not fine (perhaps you missed the requirements).
does it make sense?
This comment is hidden because it contains spoiler information about the solution