Cody

Solution 734970

Submitted on 14 Sep 2015 by Zikobrelli
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
%% n=1; y_correct=1; assert(isequal(ismunch(n),y_correct))

A = 1 A = 1 tf = 1

2   Pass
%% n=0; y_correct=1; assert(isequal(ismunch(n),y_correct))

A = 0 A = 0 tf = 1

3   Pass
%% n=153; y_correct=0; assert(isequal(ismunch(n),y_correct))

A = 1 5 3 A = 3153 tf = 0

4   Pass
%% n=634; y_correct=0; assert(isequal(ismunch(n),y_correct))

A = 6 3 4 A = 46939 tf = 0

5   Pass
%% n=3435; y_correct=1; assert(isequal(ismunch(n),y_correct))

A = 3 4 3 5 A = 3435 tf = 1

6   Pass
%% n=3534; y_correct=0; assert(isequal(ismunch(n),y_correct))

A = 3 5 3 4 A = 3435 tf = 0

7   Pass
%% n=438579088; y_correct=1; assert(isequal(ismunch(n),y_correct))

A = 4 3 8 5 7 9 0 8 8 A = 438579088 tf = 1