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.
Indeed. As an example and possible non-spoiler hint,
(3600 * delta_distance) / s
can produce "correct" results while
3600 * (delta_distance / s)
can fail tests.
This comment is hidden because it contains spoiler information about the solution
What a shame. The tests are disastrously bad. I eventually gave up, only to find the "top" C++ solution was almost line for line the same as mine. The difference comes only from rounding differences due to floating point inaccuracies.
You likely forgot to account for the case of an empty array of distances being passed.
This comment is hidden because it contains spoiler information about the solution