Test  Status  Code Input and Output 

1  Fail 
x = [1];
y = [1];
assert(isequal(individualNumSum(x),y))
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1
x =
1

2  Fail 
x = [103];
y = [4];
assert(isequal(individualNumSum(x),y))
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4
x =
4

3  Fail 
x=[189 22 39 88 55 485 769 215 3685 4589];
y = [9 4 3 7 1 8 4 8 4 8];
assert(isequal(individualNumSum(x),y))
x =
7 25 57 66
x =
13 25
x =
3 8
x =
11
x =
2
x =
2
x =
2
x =
2
x =
2
x =
2
x =
2
x =
2
x =
2
x =
2
x =
2
x =
2
x =
2
x =
2
x =
2
x =
2

4  Fail 
x=[1111 2222 3333 4444 5555 6666 7777 8888 9999 0];
y = [4 8 3 7 2 6 1 5 9 0];
assert(isequal(individualNumSum(x),y))
x =
45 45 45 45
x =
16 20
x =
3 6
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9

5  Fail 
x=[111 222 333 444 555 666 777 888 999 0];
y = [3 6 9 3 6 9 3 6 9 0];
assert(isequal(individualNumSum(x),y))
x =
45 45 45
x =
12 15
x =
2 7
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9
x =
9

6  Fail 
x=[11 3];
y = [2 3];
assert(isequal(individualNumSum(x),y))
x =
1 4
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5
x =
5

4822 Solvers
2082 Solvers
318 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
275 Solvers
Return unique values without sorting
573 Solvers