Cody

Problem 45425. The Tortoise and the Hare - 01

Solution 2826276

Submitted on 12 Aug 2020 by Rafael S.T. Vieira
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(rabbit_02(15),1))

2   Pass
assert(isequal(rabbit_02(45),1))

3   Pass
assert(isequal(rabbit_02(555),0))

4   Pass
assert(isequal(rabbit_02(25651),1))

5   Pass
assert(isequal(rabbit_02(-256514),0))

6   Pass
assert(isequal(rabbit_02(-2566245),1))

7   Pass
assert(isequal(rabbit_02(10011),1))

8   Pass
assert(isequal(rabbit_02(9191),0))

9   Pass
assert(isequal(rabbit_02(9191985078),1))

10   Pass
assert(isequal(rabbit_02(-111222333),0))

11   Pass
assert(isequal(rabbit_02(-111236070),1))

Suggested Problems

More from this Author148