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.
Sample and fixed tests should use exact expected values instead of rounded to 5 decimal places ones.
It doesn't matter how much you increase the margin. The user can always take the
(input, expected output)
pair and hardcode the equation based on that.I updated the expected precission.
The current precision requirement (1e-2) is so lenient that a simple approximation based on the two given test cases passes all tests. I suggest increasing the required precision to 1e-6, which should be easily reached with any solution based on the correctly derived closed-form solution.
.
done
Hi,
the result (mass of tnt) is expressed in kg, not in tons, in the expected result (hence, the description is incorrect).edit: scratch that, the description is consistent...Cheers
Was fun to lookup some basic physics