This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a = [ 1 0 0
0 -1 0
-1 0 1];
b = [0];
out = ticTacToe(a);
assert(isequal(out(:), b(:)))
|
2 | Pass |
a = [ 1 0 0
0 1 -1
1 -1 -1];
b = [2 7];
out = ticTacToe(a);
assert(isequal(out(:), b(:)))
|
3 | Pass |
a = [ 1 0 0
-1 1 -1
1 -1 0];
b = [7 9];
out = ticTacToe(a);
assert(isequal(out(:), b(:)))
|
Find the sum of all the numbers of the input vector
25691 Solvers
8420 Solvers
121 Solvers
Arrange vector in ascending order
541 Solvers
Convert from Base 10 to base 5
119 Solvers