Cody

Solution 1249593

Submitted on 11 Aug 2017 by Binbin Qi
  • Size: 12
  • This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
a = 0.4331; m = 1.0001; assert(tri(a)>m*0.99)

2   Pass
a = 43.31; m = 10.001; assert(tri(a)<m*1.01)

3   Pass
a = 4331; m = 100.01; assert(tri(a)>m*0.99)

4   Pass
a = 4331; m = 100.01; assert(tri(a)<m*1.01)

More from this Author100