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))
draw =
2 4 4
draw =
2 3 5
|
Find the "ordinary" or Euclidean distance between A and Z
119 Solvers
Generate N equally spaced intervals between -L and L
440 Solvers
1020 Solvers
301 Solvers
07 - Common functions and indexing 4
259 Solvers