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
847 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: 5900f4621000cf542c50ff75
title: 问题246切线到椭圆
challengeType: 5
videoUrl: ''
dashedName: problem-246-tangents-to-an-ellipse
---
# --description--
椭圆的定义是给定一个圆心c其中心为M半径为r点G为dGM
椭圆点的构造如下所示。
给定的是M-2000,1500和G8000,1500。给定也是具有中心M和半径15000的圆c。与G和c等距的点的轨迹形成椭圆e。从外部的点P开始绘制两个切线t1和t2到椭圆。让t1和t2接触椭圆的点为R和S.
对于多少格点P角度RPS是否大于45度
# --hints--
`euler246()`应该返回810834388。
```js
assert.strictEqual(euler246(), 810834388);
```
# --seed--
## --seed-contents--
```js
function euler246() {
return true;
}
euler246();
```
# --solutions--
```js
// solution required
```