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.
Buddy, the algorithm itself is half the battle. After that, there is a problem with the time limit for code execution. The code should consider the number "99" as one match, like "90" or "999".
6kyu 4Head 4Head 4Head
Nah, im too dumb to solve this. Some kind of math problem. xD
up to 100 you have: 9, 19, 29, 39, 49, 59, 69, 79, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99... so there are 19 number with at least one 9....
How long does it take on your other platform to compute the result for input 123416523412365217623567890987654321?
Same issue here... I can run the code on other platform and it works just fine, but I get the timeout error here... I think that the issue is for big numbers, because it takes more than 12 seconds to get the solution. :(
This comment is hidden because it contains spoiler information about the solution
Asked a mathemetician and google for a formula for this, both had no clue. HOW IS THIS ONLY 6 KYU???
This comment is hidden because it contains spoiler information about the solution
Guys, if you find how to deal with this error, mention here plz
i have same error. I dont know way to solve this :)
getting Execution Timed Out (12000 ms) due big numbers i guess ^^
Most likely need to put the iterator as <= instead of just < to check up to and include the final number n.
This comment is hidden because it contains spoiler information about the solution
Loading more items...