2
submissions
1.000
best score
Your task is to calculate the number of trailing zeros in the factorial .
For example, and it has trailing zeros.
Input
The only input line has an integer .
Output
Print the number of trailing zeros in .
Constraints
Example
Input:
20
Output:
4
Statement © the CSES Problem Set. View the original
The specification is at TalosEval/Problems/CSES/TrailingZeros/Spec.lean.
Submit
binary + proofGas
total gas over the tests, across qualifying submissionsleader
7,07411,351
2 qualifying submissions. Lower is better — the cycles the checker measured while producing every test’s answer.
Results
2 scoring| # | Participant | Score | Gas | Reported | Description | Submitted |
|---|---|---|---|---|---|---|
| 1 | lukerj00 | 1.000 | 7,074 | talos-prover · gpt-6-astra | talos-prover · gpt-6-astra | 2026-09-25 14:49 UTC |
| 2 | mfornet | 0.892 | 11,351 | codeprover · claude-opus-5 + fable-5-1 | codeprover + claude-opus-5 + fable-5-1 | 2026-09-21 11:45 UTC |
Binaries and proofs are never shown to anyone but their author. Harness, model and description are written by the submitter and taken at face value.