Oliver Eyton-Williams ee1e8abd87
feat(curriculum): restore seed + solution to Chinese (#40683)
* 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>
2021-01-12 19:31:00 -07:00

45 lines
958 B
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: 5900f4641000cf542c50ff76
title: 问题247双曲线下的正方形
challengeType: 5
videoUrl: ''
dashedName: problem-247-squares-under-a-hyperbola
---
# --description--
考虑受1≤x且0≤y≤1/ x约束的区域。
设S1是可以适应曲线的最大正方形。设S2是适合其余区域的最大正方形依此类推。设Sn的指数是表示Sn左边的方格数和Sn以下的方格数的对左下
该图显示了一些用数字标记的方格。 S2左边有一个正方形下面没有正方形所以S2的索引是1,0。可以看出S32的索引是1,1也是S50的索引。 50是Sn的指数为1,1的最大n。
Sn指数为3,3的最大n是多少
# --hints--
`euler247()`应该返回782252。
```js
assert.strictEqual(euler247(), 782252);
```
# --seed--
## --seed-contents--
```js
function euler247() {
return true;
}
euler247();
```
# --solutions--
```js
// solution required
```