Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
check = 1;
while check == 1
D1 = round(rand(1,1)*4+1);
D2 = round(rand(1,1)*4+1);
D3 = round(rand(1,1)*4+1);
draw = sort([D1 D2 D3]);
if size(unique(draw), 2) == 3
check = 0;
end
end
assert(isequal(sort(lottery()),draw))
|
1261 Solvers
188 Solvers
Omit columns averages from a matrix
527 Solvers
Sum all integers from 1 to 2^n
8411 Solvers
Back to basics 16 - byte order
172 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!