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.
It's okay, everything's fine, just take a deep breath, calm down, and tell me once again, calmly: what exactly you think is wrong?
BRO WHERE THE HELL ARE MY TESTS CASES THERE'S ONLY 3 GOD DAMN TEST CASES FOR ME WHILE OTHERS HAVE LIKE TON OF THEM
i dont know if this is exclusively targeting me or a feature for everyone else
This comment is hidden because it contains spoiler information about the solution
Found a way to solve it through string in like, 2 minutes, but knew it was too easy and I was right, my solution could work with very small number but as soon as it surpass the limit of the data type i used in C it started to be inaccurate... After some research i realized it was just a problem based on a math trick, i am kinda dissapointed, but I still had some fun solving it for small numbers!
I found the solution thank you
i mean, have you tried it on your computer ? check out the sample tests, there is a call
zeros(1000000000)
. run that on your computer and see how that goes...It works . I passed all the tests but it doesnt allow me to submit. Probably i shouldn't have used the factorial but i imported the sys to expand the limit. I don't mean to waste your time. Thank you
the description tells you exactly why your current approach will not work.
not very helpful but thank you
please make sure to read the description carefully before raising issues...
This comment is hidden because it contains spoiler information about the solution
I can't solve this Kata nearly 6 month))) But eventually I got it!!!
How do you expect to pass
n = 1_000_000_000
with this?(JS) I found a way to find the amount of trailing zeros, but apparently the test cases are huge. Basic tests were barely passed in 8.8s, with many more random tests completely timing the code out.
Now what?
Is important to see the docu if kata offers to you ;)
Loading more items...