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.
According to the description, where is my money? ๐
Nope. The tests are working fine. Read this part (
return as an integer the *floor* of the maximum average speed per hour obtained on the sections of x
) carefullyThis wil crash on passing
0
This comment is hidden because it contains spoiler information about the solution
Amazing
Great kata! I am impressed how many awesome solutions people produced.
It looks like I get assetion error in Kotlin with rounding. When I do floor I fail at some point, when I do rounding (up for > .5 else down) then I fail at other point. I tried to print my results and it seems to me like one time solution rounds up other time down. But this maybe only my feeling. Maybe it is worth to review the tests, specially the random tests.