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

810 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f48a1000cf542c50ff9d 问题286计分概率 5 problem-286-scoring-probabilities

--description--

447/5000

芭芭拉Barbara是数学家和篮球运动员。 她发现从距离x射击时给一个点评分的概率正好是1 -x / q其中q是大于50的实常数。

在每次练习中她从x = 1x = 2...x = 50的距离射击并且根据她的记录她恰好有2的机会总得分为20分。

找出q并将答案四舍五入到小数点后十位。

--hints--

euler286()应该返回52.6494571953。

assert.strictEqual(euler286(), 52.6494571953);

--seed--

--seed-contents--

function euler286() {

  return true;
}

euler286();

--solutions--

// solution required