Cody

Solution 2197948

Submitted on 7 Apr 2020
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   Fail
assert(isequal(gapful_4(54),0))

Error in solution: Line: 12 Column: 1 Illegal use of reserved keyword "else".

2   Fail
assert(isequal(gapful_4(451),51))

Error in solution: Line: 12 Column: 1 Illegal use of reserved keyword "else".

3   Fail
assert(isequal(gapful_4(4451),525))

Error in solution: Line: 12 Column: 1 Illegal use of reserved keyword "else".

4   Fail
assert(isequal(gapful_4(10000),765))

Error in solution: Line: 12 Column: 1 Illegal use of reserved keyword "else".

5   Fail
assert(isequal(gapful_4(100000),7491))

Error in solution: Line: 12 Column: 1 Illegal use of reserved keyword "else".

6   Fail
assert(isequal(gapful_4(99999),7490))

Error in solution: Line: 12 Column: 1 Illegal use of reserved keyword "else".

7   Fail
assert(isequal(gapful_4(1000000),74665))

Error in solution: Line: 12 Column: 1 Illegal use of reserved keyword "else".

8   Fail
%assert(isequal(gapful_4(1200000),117829))

Error in solution: Line: 12 Column: 1 Illegal use of reserved keyword "else".

9   Fail
%assert(isequal(gapful_4(10000000),746,286))

Error in solution: Line: 12 Column: 1 Illegal use of reserved keyword "else".