Cody

Solution 2155821

Submitted on 10 Mar 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   Pass
assert(isequal(Fingers(1),1))

2   Pass
assert(isequal(Fingers(2),2))

3   Pass
assert(isequal(Fingers(3),3))

4   Pass
assert(isequal(Fingers(4),4))

5   Pass
assert(isequal(Fingers(5),5))

6   Fail
assert(isequal(Fingers(10),2))

Assertion failed.

7   Fail
assert(isequal(Fingers(22),4))

Assertion failed.

8   Fail
assert(isequal(Fingers(29),5))

Assertion failed.

9   Fail
assert(isequal(Fingers(65),1))

Assertion failed.

10   Fail
assert(isequal(Fingers(72),2))

Assertion failed.

11   Fail
assert(isequal(Fingers(123),3))

Assertion failed.

12   Fail
assert(isequal(Fingers(100),4))

Assertion failed.

13   Fail
assert(isequal(Fingers(325),5))

Assertion failed.

14   Fail
assert(isequal(Fingers(500),4))

Assertion failed.

15   Fail
assert(isequal(Fingers(555),3))

Assertion failed.

16   Fail
assert(isequal(Fingers(1000),2))

Assertion failed.

17   Fail
assert(isequal(Fingers(777),1))

Assertion failed.