Cody

Solution 2291155

Submitted on 18 May 2020
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)

y = 30.0223 33.7151 12.3620 14.4221 27.2427 17.2875 29.4744 14.7381 0.8266 23.9043 y = 18.1052 9.1277 4.6050 7.9449 10.2761 8.8125 14.0009 7.5957 3.9901 17.3077

Assertion failed.

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

y = 5.5690 46.0708 13.9643 54.7936 45.8852 35.2289 4.4491 49.1252 7.9845 13.4183 22.8316 19.6941 51.0093 22.7694 26.8448 13.1047 39.2702 y = 27.1189 48.0596 9.2653 24.7240 37.5292 16.7096 20.0442 38.5317 17.5037 31.3810 6.7708 27.2914 28.6140 16.6379 36.7668 40.8647 10.6103

Assertion failed.

Suggested Problems

More from this Author100