* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
43 lines
650 B
Markdown
43 lines
650 B
Markdown
---
|
||
id: 5900f4571000cf542c50ff6a
|
||
title: 问题235:算术几何序列
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-235-an-arithmetic-geometric-sequence
|
||
---
|
||
|
||
# --description--
|
||
|
||
给定是算术几何序列u(k)=(900-3k)rk-1。设s(n)=Σk= 1 ... nu(k)。
|
||
|
||
找到r的值,其中s(5000)= - 600,000,000,000。
|
||
|
||
将您的答案四舍五入到小数点后面的12位。
|
||
|
||
# --hints--
|
||
|
||
`euler235()`应该返回1.002322108633。
|
||
|
||
```js
|
||
assert.strictEqual(euler235(), 1.002322108633);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler235() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler235();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|