Cody

# Problem 2496. Unusual Concatenations

Solution 1587320

Submitted on 19 Jul 2018 by Rafael Hernandez-Walls
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))

ns2 = 2 a1 = 144 a2 = 1089 b = logical 1

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

ns2 = 2 a1 = 289 a2 = 841 b = logical 0

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

ns2 = 2 a1 = 7744 a2 = 1089 b = logical 1

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

ns2 = 3 a1 = 980100 a2 = 10000 b = logical 1

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

ns2 = 3 a1 = 89401 a2 = 640000 b = logical 0

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

ns2 = 4 a1 = 88585744 a2 = 5536609 b = logical 1

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

ns2 = 4 a1 = 9865881 a2 = 35117476 b = logical 0

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

ns2 = 5 a1 = 311522500 a2 = 1.4535e+09 b = logical 1

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

ns2 = 5 a1 = 986902225 a2 = 8.5846e+09 b = logical 0

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

ns2 = 6 a1 = 1.3639e+10 a2 = 1.0315e+11 b = logical 1

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

ns2 = 6 a1 = 7.3890e+10 a2 = 3.3432e+10 b = logical 0

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

ns2 = 7 a1 = 8.5227e+13 a2 = 7.0917e+12 b = logical 1

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

ns2 = 7 a1 = 2.3557e+12 a2 = 1.2993e+13 b = logical 1