Cody

Problem 42638. Number of active Cody players by date

Solution 748696

Submitted on 28 Sep 2015 by Matthew Eicholtz
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))

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

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

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

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

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

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