This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 7;
y_correct = 8256;
assert(isequal(sum_int(x),y_correct))
|
2 | Pass |
%%
x = 10;
y_correct = 524800;
assert(isequal(sum_int(x),y_correct))
|
1421 Solvers
Project Euler: Problem 3, Largest prime factor
380 Solvers
Return the first and last character of a string
3458 Solvers
Switch matrix to a column vector
260 Solvers
465 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!