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 = 1;
y_correct = 1;
assert(isequal(sumofseries(x),y_correct))
|
2 | Pass |
x = 2;
y_correct = 5;
assert(isequal(sumofseries(x),y_correct))
|
3 | Pass |
x = 4;
y_correct = 288;
assert(isequal(sumofseries(x),y_correct))
|
Find the sum of all the numbers of the input vector
25661 Solvers
Project Euler: Problem 10, Sum of Primes
555 Solvers
948 Solvers
105 Solvers
Back to Basics - Find no. of elements in a matrix?
163 Solvers