Will not work for x = [1 3 5 7] or x = [0:5:30], for example.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1:6;
y_correct = 60;
assert(isequal(your_fcn_name(x),y_correct))
j =
60
|
2 | Pass |
x = 1:20;
y_correct = 232792560;
assert(isequal(your_fcn_name(x),y_correct))
j =
232792560
|
99 Solvers
Back to basics 20 - singleton dimensions
225 Solvers
Find perfect placement of non-rotating dominoes (easier)
228 Solvers
150 Solvers
07 - Common functions and indexing 1
268 Solvers