Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
n=10
x = randperm(n);
y_correct = [2 4 6 8 10];
assert(isequal(rmv_srt(n),y_correct))
n =
10
|
2 | Pass |
%%
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
|
Sum of diagonal of a square matrix
1327 Solvers
Side of an equilateral triangle
2595 Solvers
241 Solvers
273 Solvers
Determine if input is divisible by three.
162 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!