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

1.4 KiB
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f4cd1000cf542c50ffe0 问题353危险的月亮 5 problem-353-risky-moon

--description--

月球可以由球体Cr描述其中心0,0,0和半径r。

月球上有Cr表面点上的整数坐标。 0,0r处的站称为北极站0,0-r处的站称为南极站。

所有车站都通过车站的大弧上最短的道路相互连接。两个站之间的旅程是有风险的。如果d是两个站之间的道路长度d /πr2是旅程风险的度量让我们称之为道路风险。如果旅程包括两个以上的车站则旅程的风险是使用过的道路的风险总和。

从北极站到南极站的直接旅程长度为πr风险为1.从北极站到南极站的路程0r0长度相同但风险较小½πr/πr2+1 /2πr/πr2 = 0.5。

从Cr的北极站到南极站的旅程的最小风险是Mr

给出M7= 0.1784943998四舍五入到小数点后面的10位数。

找到ΣM2n-1为1≤n≤15。

将答案四舍五入到小数点后面的10位数形式为a.bcdefghijk。

--hints--

euler353()应返回1.2759860331。

assert.strictEqual(euler353(), 1.2759860331);

--seed--

--seed-contents--

function euler353() {

  return true;
}

euler353();

--solutions--

// solution required