Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
N = 6;
rng(7);
assert((round(abs(loln(N)),7) == 7.2900e-05))
a =
7630829 77991880 43840924 72346518 97798952 53849588
mean_a =
5.8910e+07
dice_diff =
5.8910e+07
|
2 | Fail |
N = 10;
rng(1000);
assert((round(abs(loln(N)),7) == 8.7600e-05))
a =
65358959 11500695 95028287 48219141 87247454 21233269 4070963 39719447 23313220 84174073
mean_a =
4.7987e+07
dice_diff =
4.7987e+07
|
579 Solvers
Number of 1s in a binary string
2825 Solvers
700 Solvers
Find out sum and carry of Binary adder
380 Solvers
Given a square and a circle, please decide whether the square covers more area.
351 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!