Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a=111;
b=444;
N_correct=111444;
assert(isequal(numcat(a,b),N_correct))
|
2 | Pass |
a=1;
b=2;
c=3;
d=4;
f=5;
N_correct=12345;
assert(isequal(numcat(a,b,c,d,f),N_correct))
|
3 | Pass |
a=2;
b=3;
c=5;
d=7;
f=11;
g=13;
h=17;
k=19;
l=23;
m=29;
n=31;
N_correct=235711131719232931;
assert(isequal(numcat(a,b,c,d,f,g,h,k,l,m,n),N_correct))
|
651 Solvers
Project Euler: Problem 6, Natural numbers, squares and sums.
1018 Solvers
309 Solvers
274 Solvers
525 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!