Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
list = {[1 5; 2 3; 2 2; 3 4; 0 3],
[0 4; 1 5; 2 2; 4 5; 4 6],
[7 7; 3 8; 4 7; 5 9; 0 4]};
selections = [4 4 4];
assert(isequal(ChooseBestFittingDominoes(list),selections))
list =
1×3 cell array
{3×2 double} {3×2 double} {3×2 double}
order =
4 4 4
|
2 | Fail |
list = {[1 4; 2 2; 1 1; 3 3],[1 2; 2 3],[2 2]};
selections = [3 1 1];
assert(isequal(ChooseBestFittingDominoes(list),selections))
list =
1×3 cell array
{3×2 double} {3×2 double} {3×2 double}
order =
4 4 4
|
17485 Solvers
1600 Solvers
233 Solvers
Sum of first n terms of a harmonic progression
257 Solvers
248 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!