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.
Added Ruby example
Missing Ruby example in the description.
[rand(30), rand(100)]
doesn't guaranteemin < max
.Great work!
Thanks :)
Nice Kata! I've added the Ruby translation, ready to be reviewed and accepted!
Approved, thanks
Ruby translation added, ready to be reviewed and approved!
Ruby translation added, ready to be reviewed and approved!
The 5 is the time. I've used the physics law for the speed (that is "s = (d_final - d_init) / time_elapsed"), first to obtain the speed and then to have the time.
what is mean "5" here?
The number 3 in the "three-step approach" is meaningless for your calculations. I only mentioned it in case some people with pole vault knowledge are reading the description; these people would be aware that a pole vaulter can also run a (much) longer approach. The result of your code only applies to the basic three-step approach that forms the basis for learning pole vault technique.
Please don't mark things as "issues" if you are only asking for background information.
In the description there isn't any clue for the "Three step approach", so you need to find the mathematical relation by yourself, making this kata more a math exercise than a programming one. Try to give, if not the whole relation, at least some tips for finding it.