freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-168-number-rotation...

56 lines
961 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: 5900f4151000cf542c50ff27
challengeType: 5
videoUrl: ''
title: 问题168数字轮换
---
## Description
<section id="description">考虑数字142857.我们可以通过将最后一个数字7移动到它的前面来右旋这个数字给我们714285.可以验证714285 = 5×142857。这证明了142857的一个不寻常的属性它是右旋的除数。找到具有此属性的所有整数n10 &lt;n &lt;10100之和的最后5位数。 </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler168()</code>应返回<code>euler168()</code> 。
testString: assert.strictEqual(euler168(), 59206);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler168() {
// Good luck!
return true;
}
euler168();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>