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.
Funny to read this three years later.
I did exactly the same thing, for exactly the same reason.
Is it because the first piece here isn't minimal?
Duplicate issue. Closing.
Fixed
the second one IS expected. The first one cannot be, because of the requirements:
re-ranked to 6 kyu
This has been fixed, you may retry the kata if you wish (as your solution doesn't work anymore).
I've made quite a few changes to the kata removing the "your directions should be the same as mine" part. After the testing process changes your solution turned out to be INcorrect, so you could try rewriting your code and passing the kata again if you want.
they just are random.
nope, because:
What you said would be valid counting the number of jumps only. But this way, you do not take in account the actual distance.
If the exercise wanted me to deal with an array of objects, it should have passed it as input instead of making me deal with it. If I'm going to deal with it, I'm going to make an intelligent data structure.
It's out of spec anyway, so you don't have to think about these cases (or any kind of input validation).
Issue marked as resolved
It is exactly the same.
First calc and sum and THEN round down.
Should work now.
Loading more items...