This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [ 3 4 71 8 10];
[p v]=outx(x);
assert(p==3)
assert(v==71)
|
2 | Pass |
x = [ 0 3 -7 -714 8 -10];
[p v]=outx(x);
assert(p==4)
assert(v== -714)
|
8421 Solvers
209 Solvers
348 Solvers
Output a vector which is table of 9
102 Solvers
39 Solvers