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.
This comment is hidden because it contains spoiler information about the solution
I wrote this 4 days ago:
Following that I modified the tests in each language (by introducing some "fuzziness") except in Java and Clojure because Codewars didn't let me re-publish Java and Clojure versions. I will try again and if it is not possible to re-publish I will suppress Java and Clojure versions. I'm very sorry for the problems of re-publishing at Codewars!
I understand the case of 81 versus 80 but not 2384 versus 44. Do you have the input for the last case?
PS: I tried again to re-publish but it is impossible.
7 guys passed the tests in Java without problems and 2 in Clojure. Try this order in calculation: (3600 * (x[k + 1] - x[k]) / s) for Java, and (/ (* 3600 (- a b)) (float s)) in Clojure. Tell me if this works.
Seeing same thing on Clojure side