Hello. There is still a 'fatal' bug in Cody or the Test Suite which is causing the Test Suite to malfunction and provide incorrect input arguments, as shown in the echoed content of input-variable "deck" below. This problem has persisted for about one month. Please advise.
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
deck = 1:28;
n = 10;
out = [3 22 9 4 23 7 25 16 14 14];
assert(isequal(solitaire(deck, n),out))
deck =
1 4 7 10 13 16 19 22 25 28 3 6 9 12 15 18 21 24 27 2 5 8 11 14 17 20 23 26
|
2 | Fail |
deck = 1:28;
n = 9;
out = [3 22 9 4 23 7 25 16 14];
assert(isequal(solitaire(deck, n),out))
deck =
1 4 7 10 13 16 19 22 25 28 3 6 9 12 15 18 21 24 27 2 5 8 11 14 17 20 23 26
|
Select every other element of a vector
20339 Solvers
516 Solvers
436 Solvers
413 Solvers
664 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!