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))
|
10762 Solvers
415 Solvers
121 Solvers
Set the array elements whose value is 13 to 0
753 Solvers
474 Solvers