* 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>
783 B
783 B
id, title, challengeType, videoUrl, dashedName
id | title | challengeType | videoUrl | dashedName |
---|---|---|---|---|
5900f45c1000cf542c50ff6e | 问题239:二十二个愚蠢的素数 | 5 | problem-239-twenty-two-foolish-primes |
--description--
编号为1到100的一组磁盘以随机顺序排列成一行。
我们有一个部分紊乱的概率是多少,这样才能确定22个素数盘远离它们的自然位置? (任何数量的非主要磁盘也可以在其自然位置内或外找到。)
将答案四舍五入到小数点后面的12位,格式为0.abcdefghijkl。
--hints--
euler239()
应该返回0.001887854841。
assert.strictEqual(euler239(), 0.001887854841);
--seed--
--seed-contents--
function euler239() {
return true;
}
euler239();
--solutions--
// solution required