Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 6;
c_correct = 1;
assert(isequal(goldbach2(n),c_correct))
c =
0
c =
1
|
2 | Pass |
n = 10;
c_correct = 2;
assert(isequal(goldbach2(n),c_correct))
c =
0
c =
1
c =
2
|
3 | Pass |
n = 50;
c_correct = 4;
assert(isequal(goldbach2(n),c_correct))
c =
0
c =
1
c =
2
c =
3
c =
4
|
4 | Pass |
n = 480;
c_correct = 29;
assert(isequal(goldbach2(n),c_correct))
c =
0
c =
1
c =
2
c =
3
c =
4
c =
5
c =
6
c =
7
c =
8
c =
9
c =
10
c =
11
c =
12
c =
13
c =
14
c =
15
c =
16
c =
17
c =
18
c =
19
c =
20
c =
21
c =
22
c =
23
c =
24
c =
25
c =
26
c =
27
c =
28
c =
29
|
Find the numeric mean of the prime numbers in a matrix.
6782 Solvers
337 Solvers
401 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
278 Solvers
420 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!