Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 2;
y_correct = 4;
assert(isequal(assign(x),y_correct))
|
2 | Pass |
x = [2 3 4];
y_correct = [4 9 16];
assert(isequal(assign(x),y_correct))
|
Project Euler: Problem 6, Natural numbers, squares and sums.
1018 Solvers
232 Solvers
219 Solvers
462 Solvers
465 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!