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.
did you include last number?
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. :(
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
Got it. Kill me plz.
It is: 9, 19, 29, 39, 49, 59, 69, 79, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99. As far as I can see, it's 19 numbers.
I missed the point why there are 19 nines in 100? (in simple tests)
It is eleven, if we count only one nine in 99, and twelve if both nines. Explain me plz.
Edit: Python kata, if it's relevant.
Loading more items...