Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 6;
c_correct = 1;
assert(isequal(goldbach2(n),c_correct))
|
2 | Pass |
n = 10;
c_correct = 2;
assert(isequal(goldbach2(n),c_correct))
|
3 | Pass |
n = 50;
c_correct = 4;
assert(isequal(goldbach2(n),c_correct))
|
4 | Pass |
n = 480;
c_correct = 29;
assert(isequal(goldbach2(n),c_correct))
|
1936 Solvers
2516 Solvers
Replace NaNs with the number that appears to its left in the row.
1711 Solvers
Project Euler: Problem 8, Find largest product in a large string of numbers
196 Solvers
middleAsColumn: Return all but first and last element as a column vector
317 Solvers