Cody

Solution 2101555

Submitted on 22 Jan 2020 by Yee Hin Chong
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
N = 6; rng(7); assert((round(abs(loln(N)),7) == 7.2900e-05))

test = 3.4999 avg = 3.5000 dice_diff = -7.2890e-05

2   Pass
N = 10; rng(1000); assert((round(abs(loln(N)),7) == 8.7600e-05))

test = 5.4999 avg = 5.5000 dice_diff = -8.7570e-05

Suggested Problems

More from this Author13