Below and equal to N *
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 2000000;
y_correct = 142913828922;
assert(isequal(euler010(x),y_correct))
y =
1.4291e+11
|
2 | Pass |
x = 10;
y_correct = 17;
assert(isequal(euler010(x),y_correct))
y =
17
|
3 | Pass |
x = 200;
y_correct =4227;
assert(isequal(euler010(x),y_correct))
y =
4227
|
4 | Pass |
x = 11;
y_correct = 28;
assert(isequal(euler010(x),y_correct))
y =
28
|
Get the area codes from a list of phone numbers
532 Solvers
Convert a vector into a number
503 Solvers
Getting the indices from a vector
3207 Solvers
188 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
297 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!