1005 B
1005 B
id, title, challengeType, forumTopicId, dashedName
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
5900f45c1000cf542c50ff6e | 問題 239: 22 個の愚かな素数 | 5 | 301884 | problem-239-twenty-two-foolish-primes |
--description--
1 から 100 までの番号が振られた 1 セットの円盤が、順不同で一列に並んでいます。
ちょうど 22 個の素数が割り振られた円盤が本来の位置とは異なる位置にあるという、間違いが起こる確率を求めなさい。 (素数でない番号の円盤も、本来の位置にあるとは限りません。)
回答は、四捨五入して小数第 12 位まで求め、0.abcdefghijkl の形式にすること。
--hints--
twentyTwoFoolishPrimes()
は 0.001887854841
を返す必要があります。
assert.strictEqual(twentyTwoFoolishPrimes(), 0.001887854841);
--seed--
--seed-contents--
function twentyTwoFoolishPrimes() {
return true;
}
twentyTwoFoolishPrimes();
--solutions--
// solution required