* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
39 lines
651 B
Markdown
39 lines
651 B
Markdown
---
|
||
id: 5900f40d1000cf542c50ff1f
|
||
title: 问题160:因子尾随数字
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-160-factorial-trailing-digits
|
||
---
|
||
|
||
# --description--
|
||
|
||
对于任何N,让f(N)为N!中尾随零之前的最后五位数。例如,9! = 362880所以f(9)= 36288 10! = 3628800所以f(10)= 36288 20! = 2432902008176640000所以f(20)= 17664查找f(1,000,000,000,000)
|
||
|
||
# --hints--
|
||
|
||
`euler160()`应返回16576。
|
||
|
||
```js
|
||
assert.strictEqual(euler160(), 16576);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler160() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler160();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|