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.
Common caveats about floating point errors apply as usual:
1e39 / 1e36 == 999.9999999999999
.Doubles are not suitable for this task, or at least, numbers at the rounding boundary should not be tested.
There are no fixed tests for values bigger than or equal
10^43
, which requires using the scientific notation rather than the engineer notation.Reference solution is wrong: it expects values floor to the nearest integer instead of 3 significant figures if no prefixes exist, e.g for
29.553385285106668
it expects29
instead of29.5
.madlad