Cody

Solution 1815796

Submitted on 15 May 2019 by Jean-Marie Sainthillier
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
x = 10; assert(length(randpro(x))==10) assert(std(randpro(x))>9) assert(std(randpro(x))<11)

ans = 25.2137 24.4835 23.9925 28.2087 28.7052 20.1061 4.6484 24.7764 16.6624 21.8118 ans = 29.9726 18.7141 2.3270 6.8450 0.7510 28.5404 16.1072 14.1338 2.7601 16.4530 ans = 5.3980 10.6191 9.6806 3.0401 18.7758 27.8941 17.3630 24.0432 25.9775 21.7663

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

ans = 20.8798 41.3605 7.4051 44.4476 10.3034 47.5436 54.7279 31.3435 5.8960 8.6212 9.8684 44.3058 51.1693 28.0794 31.2116 8.9437 45.4354 ans = 59.3883 67.6520 18.3785 22.6789 8.0964 9.6520 3.5180 3.7352 18.7603 12.9681 38.8074 48.9611 10.6022 58.2416 4.3556 12.2037 64.8883 ans = 46.0428 58.8603 68.8066 28.5871 38.9597 40.6321 60.0270 28.5379 30.8164 24.6699 24.1403 46.9611 59.5226 22.6463 22.2434 20.6495 50.2040