Cody

Solution 809730

Submitted on 19 Jan 2016 by Harish Maradana
  • Size: 37
  • This is the leading solution.
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))