Cody

Solution 1598420

Submitted on 3 Aug 2018 by J. S. Kowontan
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 = [5 3]; y_correct = 2; assert(isequal(the_deadly_sin(x),y_correct))

2   Pass
x = [10 10]; y_correct = 20; assert(isequal(the_deadly_sin(x),y_correct))

3   Pass
x = [4 8]; y_correct = 8; assert(isequal(the_deadly_sin(x),y_correct))

4   Pass
x = [30 12]; y_correct = 12; assert(isequal(the_deadly_sin(x),y_correct))

5   Pass
x = [42 91]; y_correct = 14; assert(isequal(the_deadly_sin(x),y_correct))

6   Pass
x = [700 80]; y_correct = 40; assert(isequal(the_deadly_sin(x),y_correct))

7   Pass
x = [638 899]; y_correct = 58; assert(isequal(the_deadly_sin(x),y_correct))

8   Pass
x = [819 949]; y_correct = 26; assert(isequal(the_deadly_sin(x),y_correct)) x = [500 500]; y_correct = 1000; assert(isequal(the_deadly_sin(x),y_correct))