Cody

Solution 1922029

Submitted on 4 Sep 2019
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   Fail
x = 10; assert(length(randpro(x))==10) assert(std(randpro(x))>9) assert(std(randpro(x))<11)

a = [] a = 8 9 4 10 4 5 9 10 1 3

Output argument "y" (and maybe others) not assigned during call to "randpro". Error in Test1 (line 2) assert(length(randpro(x))==10)

2   Fail
x = 17; assert(length(randpro(x))==17) assert(std(randpro(x))>16) assert(std(randpro(x))<18)

a = [] a = 13 8 11 13 7 3 16 5 1 14 3 8 16 7 8 6 5

Output argument "y" (and maybe others) not assigned during call to "randpro". Error in Test2 (line 2) assert(length(randpro(x))==17)