Cody

Solution 1152484

Submitted on 3 Apr 2017 by H M Dipu Kabir
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(numcodyplayers('17 Aug 1939'),0))

y = 0

2   Pass
assert(isequal(numcodyplayers('7 Dec 1984'),0))

y = 0

3   Pass
assert(isequal(numcodyplayers('1 Jan 2012'),0))

y = 0

4   Pass
assert(isequal(numcodyplayers('19 Jan 2012'),3))

y = 3

5   Pass
assert(isequal(numcodyplayers('26 Jan 2012'),260))

y = 260

6   Pass
assert(isequal(numcodyplayers('14 Feb 2012'),852))

y = 852

7   Pass
assert(isequal(numcodyplayers('19 Feb 2012'),910))

y = 910