Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 6;
y_correct = 13;
assert(isequal(euler007(x),y_correct))
|
2 | Pass |
x = 10001;
y_correct = 104743;
assert(isequal(euler007(x),y_correct))
|
3 | Pass |
x = 123456;
y_correct = 1632899;
assert(isequal(euler007(x),y_correct))
|
1261 Solvers
1092 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
277 Solvers
Rotate input square matrix 90 degrees CCW without rot90
380 Solvers
Create an index-powered vector
352 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!