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.
How are we suppose to know each block takes how many height. The test only give us the so called height, m
Ah, I should've saw that. That was my bad, thanks for pointing out :)
This comment is hidden because it contains spoiler information about the solution
this solution will get execution timed out
The author did not mention that the input check amount has to be in 2 decimal places. I was suppose to pass all of the tests much sooner but instead spending my time copy and pasting stuff into diffchecker to figure it out. I should've read the comment earlier so I don't have to go through these mess. Even after comments regarding this, the author has yet to improvise the description for this matter.
Overall a good kata but terrible description once again by @g964.
Same problem right here..
One of the very fun kata that I've worked with so far! Thanks @lambda4fun
Thank you very much @gnemlock
As usual, this particular user's description is just poor. What a surprise
@Ciprian Amza
It's not even about solving the kata. I couldn't get my head around what the description wanted me to do, let alone solving the kata.
@kazk I truly appreciate your effort to illustrate these clearly. Anyway, I figured it out after reading other comments and numerous rereading.
I am sorry if I've disrespect @g964. I am just frustrated at how the same user always come out with poor description. Otherwise, this could be a real good kata. Cheers!
It's not surprising that there are several comments like mine, and tons of people have upvoted it.
Edit: Somehow I kinda got it now, after reading through numerous comments. It still doesn't change the fact that the description is poorly written
When you divide the successive powers of 10 by 13 you get the following remainders of the integer divisions
Couldn't understand the first sentence itself.
Moving on,
7×1 + 6×10 + 5×9 + 4×12 + 3×3 + 2×4 + 1×1 = 178
Don't get where do we get the 7,6,5,4,3,2,1 from... I assume it is the lens of the number and subsequently minus 18x1 + 7x10 + 1x9 = 87
well I am wrong, where are these multiplications all coming from.I have read your description numerous times, still dont get it.
The kata description from this user "g964" is getting ridiculous. 9 out of 10 of his kata description is absolutely CRAP!
It is making the whole codewars site look crap as hell. Please ban him from releasing kata without a clear and good description
It did count space sometime, and sometime not. Like this examples over here
toWeirdCase( "Weird string case" );//=> returns "WeIrD StRiNg CaSe"
Edit: just realised that the index need to be count from 0 for each word. Author should make it more obvious
Unclear instruction.. and of course it is published by this 'g964' user again. What a surprise
Edit: after looking through the questions and writing out the scenario, finally figured out.
Instead of throwing all of the test cases at us, it's better to explain one single case thoroughly.
Loading more items...