Files
freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-388-distinct-lines.chinese.md

56 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f4f11000cf542c510002
challengeType: 5
title: 'Problem 388: Distinct Lines'
videoUrl: ''
localeTitle: 问题388不同的线条
---
## Description
<section id="description">考虑所有格点abc其中0≤abc≤N。 <p>从原点O0,0,0开始所有线都被绘制到其他格点。设DN是不同的这种线的数量。 </p><p>您被给予D1 000 000= 831909254469114121。 </p><p>找到D1010。将前9位数字后跟最后9位数字作为答案。 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler388()</code>应该返回831907372805130000。
testString: 'assert.strictEqual(euler388(), 831907372805130000, "<code>euler388()</code> should return 831907372805130000.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler388() {
// Good luck!
return true;
}
euler388();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>