Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 10;
flagSame = isequal(makeRandomOrdering(n), makeRandomOrdering(n));
flagAllUsed = isequal([1:n],sort(makeRandomOrdering(n)));
assert(~flagSame & flagAllUsed)
|
Project Euler: Problem 1, Multiples of 3 and 5
1490 Solvers
325 Solvers
Arrange vector in ascending order
624 Solvers
2978 Solvers
1140 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!