Cody

Solution 309319

Submitted on 22 Aug 2013 by J-G van der Toorn
  • Size: 35
  • This is the leading solution.
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))
2   Pass
%% x = 21; y = 60; assert(are_fangs(x,y))
3   Pass
%% x = randi(9,1); y = randi([10 99],1); assert(~are_fangs(x,y))
4   Pass
%% x = 15; y = 93; assert(are_fangs(x,y))
5   Pass
%% x = randi(9,1)*10; y = randi(9,1)*10; assert(~are_fangs(x,y))
6   Pass
%% x = 2; y = 50006; assert(~are_fangs(x,y))
7   Pass
%% x = 150; y=930; assert(~are_fangs(x,y))
8   Pass
%% x = 300; y = 501; assert(are_fangs(x,y))