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.
The initial solution should have
#include <string>
Description should be language-agnostic
Rounding requirement in test setup should be removed after all languages have been updated
Lua:
floating point comparison should be enforced
CS:
floating point comparison should be enforced
JS Node 18. (
mocha
+chai
) should be enabledfloating point comparison should be enforced
This comment is hidden because it contains spoiler information about the solution
I think that this kata should be 5 kyu, because of huge amount of test cases
How will you check cases where x >= 50? I think this kata has simple mathematic implementation and answer can be represented as string.
JS translation kumited.
(Description modified)
more info on how to approve it ( or not )