Cody

Solution 1730819

Submitted on 19 Feb 2019 by Alfonso Nieto-Castanon
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
assert(isequal(SortReversal(1),0))

2   Pass
assert(isequal(SortReversal(3),1))

3   Pass
assert(isequal(SortReversal(71),1225))

4   Pass
assert(isequal(SortReversal(113),3136))

5   Pass
assert(isequal(SortReversal(123),3721))

6   Pass
assert(isequal(SortReversal(199),9801))

7   Pass
assert(isequal(SortReversal(257),16384))

8   Pass
assert(isequal(SortReversal(321),25600))

9   Pass
assert(isequal(SortReversal(333),27556))

10   Pass
assert(isequal(SortReversal(503),63001))

11   Pass
assert(isequal(SortReversal(555),76729))

12   Pass
assert(isequal(SortReversal(737),135424))

13   Pass
assert(isequal(SortReversal(777),150544))

14   Pass
assert(isequal(SortReversal(999),249001))