Cody

Solution 2546613

Submitted on 14 Jun 2020 by Nikolaos Nikolaou
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
n = 1; ct_correct = 0; assert(isequal(powerTenInFactorial(n),ct_correct))

ans = 0

2   Pass
n = 9; ct_correct = 1; assert(isequal(powerTenInFactorial(n),ct_correct))

ans = 1

3   Pass
n = 27; ct_correct = 6; assert(isequal(powerTenInFactorial(n),ct_correct))

ans = 6

4   Pass
n = 626; ct_correct = 156; assert(isequal(powerTenInFactorial(n),ct_correct))

ans = 156

5   Pass
n = 620; ct_correct = 152; assert(isequal(powerTenInFactorial(n),ct_correct))

ans = 152