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 |
A = 200;
y_correct = 10;
assert(isequal(length_of_rect(A),y_correct))
|
2 | Pass |
A = 32;
y_correct = 4;
assert(isequal(length_of_rect(A),y_correct))
|
3 | Pass |
A = 18;
y_correct = 3;
assert(isequal(length_of_rect(A),y_correct))
|
17121 Solvers
Sort a list of complex numbers based on far they are from the origin.
3791 Solvers
377 Solvers
07 - Common functions and indexing 3
254 Solvers
171 Solvers