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

56 lines
787 B
Markdown
Raw Normal View History

---
id: 5900f3ab1000cf542c50febe
challengeType: 5
videoUrl: ''
2020-10-01 15:54:21 +00:00
title: 问题63强大的数字计数
---
## Description
<section id="description"> 5位数字16807 = 75也是第五种力量。类似地9位数字134217728 = 89是第九次幂。存在多少个n位正整数它们也是n次幂 </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler63()</code>应该返回49。
testString: assert.strictEqual(euler63(), 49);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler63() {
// Good luck!
return true;
}
euler63();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>