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.
Ruby Translation kumited, if anyone is able to approve it...
Node V.14 should be enabled
This comment is hidden because it contains spoiler information about the solution
There are test cases with the final calorie value ending with
.xx5
.This is begging for rounding errors at rounding boundaries.
This has been done.
It's another kata that asks for a wrapper around a native method, doubtlessly is a duplicate at that, and generally adds zilch to CodeWars except repetition. Oh, and cheap points for the author and, most importantly, one point for the person that approves it.
Please do not ask me to believe that shifting values by 30 is an encoding.
Please unpublish this.