Cody

Solution 1996371

Submitted on 30 Oct 2019 by Le Cong Hieu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = 1; y = 1; assert(~are_fangs(x,y))

tf = logical 0

2   Pass
x = 21; y = 60; assert(are_fangs(x,y))

c = '1260'

3   Pass
x = randi(9,1); y = randi([10 99],1); assert(~are_fangs(x,y))

tf = logical 0

4   Pass
x = 15; y = 93; assert(are_fangs(x,y))

c = '1395'

5   Pass
x = randi(9,1)*10; y = randi(9,1)*10; assert(~are_fangs(x,y))

tf = logical 0

6   Pass
x = 2; y = 50006; assert(~are_fangs(x,y))

tf = logical 0

7   Pass
x = 150; y=930; assert(~are_fangs(x,y))

tf = logical 0

8   Pass
x = 300; y = 501; assert(are_fangs(x,y))

c = '150300'

Suggested Problems

More from this Author9