chore(learn): Applied MDX format to Chinese curriculum files (#40462)
This commit is contained in:
@ -1,55 +1,27 @@
|
||||
---
|
||||
id: 5900f4f11000cf542c510002
|
||||
title: 问题388:不同的线条
|
||||
challengeType: 5
|
||||
videoUrl: ''
|
||||
title: 问题388:不同的线条
|
||||
---
|
||||
|
||||
## Description
|
||||
<section id="description">考虑所有格点(a,b,c),其中0≤a,b,c≤N。 <p>从原点O(0,0,0)开始,所有线都被绘制到其他格点。设D(N)是不同的这种线的数量。 </p><p>您被给予D(1 000 000)= 831909254469114121。 </p><p>找到D(1010)。将前9位数字后跟最后9位数字作为答案。 </p></section>
|
||||
# --description--
|
||||
|
||||
## Instructions
|
||||
<section id="instructions">
|
||||
</section>
|
||||
考虑所有格点(a,b,c),其中0≤a,b,c≤N。
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
从原点O(0,0,0)开始,所有线都被绘制到其他格点。设D(N)是不同的这种线的数量。
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: <code>euler388()</code>应该返回831907372805130000。
|
||||
testString: assert.strictEqual(euler388(), 831907372805130000);
|
||||
您被给予D(1 000 000)= 831909254469114121。
|
||||
|
||||
```
|
||||
找到D(1010)。将前9位数字后跟最后9位数字作为答案。
|
||||
|
||||
</section>
|
||||
# --hints--
|
||||
|
||||
## Challenge Seed
|
||||
<section id='challengeSeed'>
|
||||
|
||||
<div id='js-seed'>
|
||||
`euler388()`应该返回831907372805130000。
|
||||
|
||||
```js
|
||||
function euler388() {
|
||||
// Good luck!
|
||||
return true;
|
||||
}
|
||||
|
||||
euler388();
|
||||
|
||||
assert.strictEqual(euler388(), 831907372805130000);
|
||||
```
|
||||
|
||||
</div>
|
||||
# --solutions--
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
// solution required
|
||||
```
|
||||
|
||||
/section>
|
||||
|
Reference in New Issue
Block a user