Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
suspects = [431 543 211 911 436];
code = 211;
jokers = 1;
assert(isequal(mytest(suspects,code),jokers))
|
2 | Fail |
suspects = [431 543 211 911 436];
code = 217;
jokers = 0;
assert(isequal(mytest(suspects,code),jokers))
|
3 | Fail |
suspects = 100:200;
code = 160;
jokers = 1;
assert(isequal(mytest(suspects,code),jokers))
|
4 | Fail |
suspects = [100 200 300 350 200];
code = 200;
jokers = 2;
assert(isequal(mytest(suspects,code),jokers))
|
Compute a dot product of two vectors x and y
750 Solvers
Rotate input square matrix 90 degrees CCW without rot90
380 Solvers
Who is the smartest MATLAB programmer?
561 Solvers
07 - Common functions and indexing 4
319 Solvers
323 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!