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 |
assert(isequal(your_fcn_name(2,5),3))
|
2 | Pass |
assert(isequal(your_fcn_name(43478728320,54543483434),1.106475511400000e+10))
|
3 | Pass |
assert(isequal(your_fcn_name(767,1210),443))
|
4 | Pass |
assert(isequal(your_fcn_name(5,11),6))
|
5 | Pass |
assert(isequal(your_fcn_name(-5,-1),4))
|
3892 Solvers
1900 Solvers
Number of 1s in the Binary Representation of a Number
356 Solvers
Calculate the area of a triangle between three points
871 Solvers
324 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!