Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
r=138;p=844;rings=3;
assert(isequal(solve_rings(r,p),rings))
|
2 | Pass |
r=21;p=197;rings=4;
assert(isequal(solve_rings(r,p),rings))
|
3 | Pass |
r=214;p=862;rings=2;
assert(isequal(solve_rings(r,p),rings))
|
4 | Pass |
r=20;p=845;rings=13;
assert(isequal(solve_rings(r,p),rings))
|
5 | Pass |
r=20;p=844;rings=12;
assert(isequal(solve_rings(r,p),rings))
|
Select every other element of a vector
20340 Solvers
Find common elements in matrix rows
1232 Solvers
Remove the polynomials that have positive real elements of their roots.
629 Solvers
Back to basics 11 - Max Integer
678 Solvers
Sum of first n terms of a harmonic progression
257 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!