Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
n=10
x = randperm(n);
y_correct = [2 4 6 8 10];
assert(isequal(rmv_srt(n),y_correct))
n =
10
x =
5 1 9 4 2 10 7 8 6 3
y =
2 4 6 8 10
|
2 | Fail |
n=25
x = randperm(n);
y_correct = [2 4 6 8 10 12 14 16 18 20 22 24];
assert(isequal(rmv_srt(n),y_correct))
n =
25
x =
12 2 17 6 7 20 3 10 8 9 23 16 5 22 1 19 13 11 24 18 25 14 4 15 21
y =
2 4 6 8 10 12 14 16 18 20 22 24
|
203 Solvers
Count decimal digits of a number
176 Solvers
Side of an equilateral triangle
2595 Solvers
Find out value of sine given by degree.
231 Solvers
379 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!