Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
n = 6;
c_correct = 1;
assert(isequal(goldbach2(n),c_correct))
pairs =
[]
|
2 | Pass |
%%
n = 10;
c_correct = 2;
assert(isequal(goldbach2(n),c_correct))
pairs =
[]
|
3 | Pass |
%%
n = 50;
c_correct = 4;
assert(isequal(goldbach2(n),c_correct))
pairs =
[]
|
4 | Pass |
%%
n = 480;
c_correct = 29;
assert(isequal(goldbach2(n),c_correct))
pairs =
[]
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
35570 Solvers
1421 Solvers
556 Solvers
450 Solvers
2779 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!