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.
There is no precision for the output of 2 digits implemented
COBOL translation (author is inactive). This translation updates the description and fixes the issue below (wording and incorrect range of inputs). If it's approved, Swift tests should be updated in order to generate more values in the full range (according to what I could see, it should not have any significant impact invalidating solutions).
The description is inaccurate (beside, the wording is incorrect) : The highest the will be passed in will be in the 1,000,000,000,000 (1 trillion) range, but fixed tests include 895,156,000,329,152 (> 895 trillions). It appears to be the unique number tested out of the specified range.
that should be clear from the type of the function, and in this way it is better readable
This comment is hidden because it contains spoiler information about the solution
Done.
I feel like this should be mentioned in the descriptions. Or at least put up a test case where this distinction matters.
The point about
0
and negative numbers still stand though.This comment is hidden because it contains spoiler information about the solution
In what definition? 10% of the larger number, or the smaller number? (This incur about 1.1% difference.)
Also (probably) needs test cases for
0
and negative numbers.You arer like me! love big solutions!
It is because the mistake doesnt refer to the test input 43 but to the test above....-1.
The example code should be put in a code block.
I tried to do random tests, but the server kept timing out, so I had to get rid of them.
Now, if you want to add some random seed (I don't see any) you can prepare your changes, edit your Swift translation, modify your tests (don't modify the description) and re-publish... hoping that works. But you can remain with the present translation and keep yourself for next translation:-)
Looks good! Thanks for the help.
Loading more items...