Cody

Solution 485489

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

Error: Requires string or character array input.

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

Error: Requires string or character array input.

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

Error: Requires string or character array input.

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

Error: Requires string or character array input.

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

Error: Requires string or character array input.

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

Error: Requires string or character array input.

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

Error: Requires string or character array input.

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

Error: Requires string or character array input.

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

Error: Requires string or character array input.

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

Error: Requires string or character array input.

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

Error: Requires string or character array input.

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

Error: Requires string or character array input.

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

Error: Requires string or character array input.