Cody

Solution 485493

Submitted on 11 Aug 2014 by Abdullah Caliskan
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 = 1233; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 1233 ans = 2

2   Pass
%% n = 1729; b_correct = 0; assert(isequal(isUnusual(n),b_correct))

k = 1729 ans = 2

3   Pass
%% n = 8833; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 8833 ans = 2

4   Pass
%% n = 990100; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 990100 ans = 3

5   Pass
%% n = 299800; b_correct = 0; assert(isequal(isUnusual(n),b_correct))

k = 299800 ans = 3

6   Pass
%% n = 94122353; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 94122353 ans = 4

7   Pass
%% n = 31415926; b_correct = 0; assert(isequal(isUnusual(n),b_correct))

k = 31415926 ans = 4

8   Pass
%% n = 1765038125; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 1765038125 ans = 5

9   Pass
%% n = 3141592653; b_correct = 0; assert(isequal(isUnusual(n),b_correct))

k = 3141592653 ans = 5

10   Pass
%% n = 116788321168; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 116788321168 ans = 6

11   Pass
%% n = 271828182845; b_correct = 0; assert(isequal(isUnusual(n),b_correct))

k = 271828182845 ans = 6

12   Pass
%% n = 92318202663025; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 92318202663025 ans = 7

13   Pass
%% n = 15348303604525; b_correct = 1; assert(isequal(isUnusual(n),b_correct))

k = 15348303604525 ans = 7