Cody

Solution 1971678

Submitted on 11 Oct 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)

Out of memory. The likely cause is an infinite recursion within the program. Error in randpro (line 2) y = randpro(n);

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

Out of memory. The likely cause is an infinite recursion within the program. Error in randpro (line 2) y = randpro(n);

Suggested Problems

More from this Author100