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.
Does it make much of a difference here? It's passed by value for a one line function.
This comment is hidden because it contains spoiler information about the solution
Yeah, from now on I will check the test data and the results expected and make up my own instructions from that.
That last fo99obar99 that comes out from nowhere 😅
The best one!
Using a switch statement requires the data type to be an int, but hard converting a double to an int causes the decimal to be lost. OP multiplied by 10 and multiplied the ranges by 10 to circumnavigate that. Since input values only go to one decimal place, this works.
well because the form of the serie 1/1 + 1/4 ... etc
it will never grow bigger than 9
omg you're such a beast
ahah when two Shifu meet
try c++, it always looks classy xD
this is a German supermarket, so no human factor is involved xD
thank you! I had fun with it! You should make MORE katas!
xD
omg super-clever, i kneel bevor thee
thanks for the response!
the examples, the sample tests. If the Task contains Examples, then one can RELY on these examples - and here they perfectly match each other. If the Task and Examples are going along with Sample Tests (which are no different from each other) - it looks like there's no other way to present the task:
(alpha)-(zeroes)-(numbers)
..aaand when everything is planned and implemented, here we go -
(alphanum)-(zeroes)-(numbers). Needless to say, it ruined my algorithm. I'm not advocating for revealing the "hidden test-cases", but it's UNFARE to make the "hidden test-cases" more narrow than
thetaskthank you.
What part of the kata exactly makes you think the description is incomplete?
Loading more items...