Cody

Solution 1200825

Submitted on 30 May 2017
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Fail
x = 11; assert(isequal(divisible_by_21(x),0))

rem() forbidden

2   Fail
x = 20; assert(isequal(divisible_by_21(x),0))

rem() forbidden

3   Fail
x = 217; assert(isequal(divisible_by_21(x),0))

rem() forbidden

4   Fail
x = 231; assert(isequal(divisible_by_21(x),1))

rem() forbidden

5   Fail
x = 2240; assert(isequal(divisible_by_21(x),0))

rem() forbidden

6   Fail
x = 1236123; assert(isequal(divisible_by_21(x),1))

rem() forbidden