Cody

Solution 2162191

Submitted on 16 Mar 2020 by Tim
  • Size: 33
  • 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(count_days_2([2010:2020],'Fri'),574))

2   Pass
assert(isequal(count_days_2([1910:2020],'Sat'),5792))

3   Pass
assert(isequal( count_days_2([1942:1947],'Sun'),313))

4   Pass
assert(isequal(count_days_2([1899:1912],'Wed'),730))

5   Pass
assert(isequal(count_days_2([1798:1902],'Sun'),5478))

6   Pass
assert(isequal(count_days_2(2012,'Mon'),53))

Suggested Problems

More from this Author145