Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 10;
y_correct = 2640;
assert(isequal(euler006(x),y_correct))
ans =
2640
|
2 | Pass |
%%
x = 20;
y_correct = 41230;
assert(isequal(euler006(x),y_correct))
ans =
41230
|
3 | Pass |
%%
x = 200;
y_correct = 401323300;
assert(isequal(euler006(x),y_correct))
ans =
401323300
|
9868 Solvers
1223 Solvers
Generate N equally spaced intervals between -L and L
563 Solvers
Reverse the elements of an array
687 Solvers
Create an index-powered vector
352 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!