Cody

Solution 2212719

Submitted on 15 Apr 2020 by Jonathan Agg
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( num_count(4,2),8829))

2   Pass
assert(isequal( num_count(6,2),866781))

3   Pass
assert(isequal( num_count(6,4),899829))

4   Pass
assert(isequal( num_count(2,2),90))

5   Pass
assert(isequal( num_count(5,4),89991))

6   Pass
assert(isequal( num_count(3,1),729)) %not successive

7   Pass
%assert(isequal( num_count(7,2), 8588349))

8   Pass
%assert(isequal( num_count(8,2),85096170))

Suggested Problems

More from this Author145