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.
Resolved description MC
Scrutinized tests
Added useful assertion messages
Removed reference solution and modified to be differed from OP's solution
Updated to Kotlin 1.9
Added annotations
Modified random test generation to follow Crystal version
Scrutinized tests
Added useful assertion messages
Removed reference solution
Random test assertion message substitutes the wrong value:
Should be equal to xxx
has the input rather than the expected value.Also, some parts of the random test input range do not make sense: at height like
218cm
the "height needed to jump" becomes negative, when it really should be0
.There are absolutely no information that can help deduce the formula, except a whole bunch of inputs and expected values generated by the random tests.
This is not a "puzzle", this is just blindly fitting data to get a formula. And not a good one at it either, if it is just a linear relationship.
I just did, so it's doable.
But I hate this kinds of kata. It's 7/8kyu that was made 6kyu via adding some artificial constrains.
I am going to reject this, since this kata has a heavy JS-specific focus. While Python has a very similar feature, I don't think its a good idea for a beginner Python solver to stumble upon a 8kyu kata, and be told to "Find out what is new in ES6" in order to solve it in Python.
This comment is hidden because it contains spoiler information about the solution
Thank you for your reminder!
I have changed the kata!
Guys, do you think it's real to solve this using only 111 characters on C++ ?
Just give me examples for this
what number do I see "among the cards" that I need to choose yes or no, put spoiler if you must but I just don't get it
What is on the card !?
Awful description. It should mention each card has multiple numbers written on it, and you need to say 'Yes' if you see your number amongst those numbers AND that this set of 6 cards never changes.
It is a static method. it is called on the uninstansiated class, not the object created from the class
Would you please explain your question for me?
So that I can answer your questions!
These two restrictions I set are to increase the difficulty of kata, this is just to test how you can compress the program to the minimum and your proficiency in the program.
thanks for reminding me of my oversight!
Loading more items...