freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-378-triangle-triple...

56 lines
1.1 KiB
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: 5900f4e61000cf542c50fff9
challengeType: 5
videoUrl: ''
localeTitle: 问题378三角形三元组
---
## Description
<section id="description">设Tn为第n个三角形数因此Tn= <p> nn + 12 </p><p></p><p>设dTn为Tn的除数。例如T7= 28且dT7= 6。 </p><p>令Trn为三元组数ijk使得1≤i&lt;j &lt;k≤n且dTi&gt; dTj&gt; dTk。 Tr20= 14Tr100= 5772Tr1000= 11174776。 </p><p>找Tr60 000 000。给出答案的最后18位数字。 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler378()</code>应该返回147534623725724700。
testString: assert.strictEqual(euler378(), 147534623725724700);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler378() {
// Good luck!
return true;
}
euler378();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>