freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-56-powerful-digit-s...

39 lines
697 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f3a41000cf542c50feb7
title: 问题56强大的数字总和
challengeType: 5
videoUrl: ''
dashedName: problem-56-powerful-digit-sum
---
# --description--
googol10100是一个庞大的数字一个跟着一百个零; 100100几乎是难以想象的大一个跟着两百个零。尽管它们的大小每个数字的数字之和仅为1.考虑到形式的自然数ab其中ab <100最大数字和是多少
# --hints--
`euler56()`应返回972。
```js
assert.strictEqual(euler56(), 972);
```
# --seed--
## --seed-contents--
```js
function powerfulDigitSum() {
return true;
}
powerfulDigitSum();
```
# --solutions--
```js
// solution required
```