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 does [0, 5, 10, 10.5, 4.5] == 30??
I don't understand the scoring here, it should either be 20 or 25, depending on the rounding:
0 = 10 pts
5 = 5 pts
10 = 0
10.5 := 11 = 0
4.5 := 5 = 5 pts
10 + 5 + 5 = 20
Or, if I were to not round up/down and only use the integer value, the score is still wrong:
0 = 10 pts
5 = 5 pts
10 = 0 pts
10.5 := 10 = 0 pts
4.5 := 4 = 10 pts
10 + 5 + 10 = 25
Hehe, Your welcome :) And thanks to you for the update!
Okay this one was fun up until the 'Bananas from bahamas' test case. That one really just threw the whole algorithm out the water. The initial test case does not AT ALL make clear what the intention is. That test case is more about can you mash the two inputs together in order to form the output. It's not about going in order. That 'bananas' test case should be the one shown on the instructions, imho.