Cody

Solution 1650465

Submitted on 16 Oct 2018 by James
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(Spy(0),0))

2   Pass
assert(isequal(Spy(1),0))

3   Pass
assert(isequal(Spy(666),1994))

4   Pass
assert(isequal(Spy(3),5))

5   Pass
assert(isequal(Spy(1234),3698))

6   Pass
assert(isequal(Spy(59),173))

7   Pass
assert(isequal(Spy(17),47))

8   Pass
assert(isequal(Spy(101),299))

9   Pass
assert(isequal(Spy(555),1661))

10   Pass
assert(isequal(Spy(2),2))

11   Pass
assert(isequal(Spy(200),596))

Suggested Problems

More from this Author19