Cody

Solution 1162532

Submitted on 13 Apr 2017 by H M Dipu Kabir
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))

a = '1233' n1 = 12 n2 = 33 b = logical 1

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

a = '1729' n1 = 17 n2 = 29 b = logical 0

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

a = '8833' n1 = 88 n2 = 33 b = logical 1

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

a = '990100' n1 = 990 n2 = 100 b = logical 1

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

a = '299800' n1 = 299 n2 = 800 b = logical 0

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

a = '94122353' n1 = 9412 n2 = 2353 b = logical 1

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

a = '31415926' n1 = 3141 n2 = 5926 b = logical 0

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

a = '1765038125' n1 = 17650 n2 = 38125 b = logical 1

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

a = '3141592653' n1 = 31415 n2 = 92653 b = logical 0

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

a = '116788321168' n1 = 116788 n2 = 321168 b = logical 1

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

a = '271828182845' n1 = 271828 n2 = 182845 b = logical 0

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

a = '92318202663025' n1 = 9231820 n2 = 2663025 b = logical 1

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

a = '15348303604525' n1 = 1534830 n2 = 3604525 b = logical 1