Cody

Solution 2173325

Submitted on 24 Mar 2020 by William
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
a='0.0.0.17.19'; assert(isequal(maya_count(a),359))

2   Pass
a='0.1.1.0.0'; assert(isequal(maya_count(a),7560))

3   Pass
a='9.8.9.13.0'; assert(isequal(maya_count(a),1357100))

4   Pass
a='12.8.19.13.2'; assert(isequal(maya_count(a),1792702))

5   Pass
a='5.0.1.2.3'; assert(isequal(maya_count(a),720403))