This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
v = 20;
s=2;
d = 20;
assert(isequal(distance(s,v),d));
d =
20
|
2 | Pass |
v = 20;
s=2.5;
d = 21.25;
assert(isequal(distance(s,v),d));
d =
21.2500
|
3 | Pass |
v = 20;
s=12.5;
d=40;
assert(isequal(distance(s,v),d));
d =
40
|
4 | Pass |
v=50;
s=10;
d=250;
v=5;
s=5;
d=2.5;
assert(isequal(distance(s,v),d));
d =
2.5000
|
Sum of odd numbers in a matrix
191 Solvers
Find the area of the four walls
118 Solvers
Let's see how peculiar we can get
118 Solvers
78 Solvers
87 Solvers