Cody

Solution 2133461

Submitted on 19 Feb 2020 by Asif Newaz
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( lucky(5),0))

2   Pass
assert(isequal( lucky(17),0))

3   Pass
assert(isequal( lucky(163),1))

4   Pass
assert(isequal( lucky(1280),0))

5   Pass
assert(isequal( lucky(297),1))

6   Pass
assert(isequal( lucky(1765),1))

7   Pass
assert(isequal( lucky(1),1))

8   Pass
assert(isequal( lucky(2228),0))

9   Pass
assert(isequal( lucky(562344),0))

Suggested Problems

More from this Author111