freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-375-minimum-of-subs...

56 lines
995 B
Markdown
Raw Normal View History

---
id: 5900f4e41000cf542c50fff5
challengeType: 5
videoUrl: ''
2020-10-01 15:54:21 +00:00
title: 问题375最小子序列
---
## Description
<section id="description">设Sn是由以下伪随机数发生器产生的整数序列S0 = 290797 Sn + 1 = Sn2 mod 50515093 <p>设Aij是i≤j的数字SiSi + 1...Sj中的最小值。设MN=ΣAij为1≤i≤j≤N。我们可以验证M10= 432256955和M10 000= 3264567774119。 </p><p>找到M2 000 000 000</p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler375()</code>应该返回7435327983715286000。
testString: assert.strictEqual(euler375(), 7435327983715286000);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler375() {
// Good luck!
return true;
}
euler375();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>