Cody

# Problem 44068. The number of trailing zero digit of a factorial

Solution 2674040

Submitted on 10 Jul 2020
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   Fail
n = 1; ct_correct = 0; assert(isequal(powerTenInFactorial(n),ct_correct))

Error in solution: Line: 2 Column: 44 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

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

Error in solution: Line: 2 Column: 44 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

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

Error in solution: Line: 2 Column: 44 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

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

Error in solution: Line: 2 Column: 44 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

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

Error in solution: Line: 2 Column: 44 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.