chore(i18n,learn): processed translations (#44866)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
---
|
||||
id: 5900f4fa1000cf542c51000d
|
||||
title: 'Problem 398: Cutting rope'
|
||||
title: '問題 398: ロープの切断'
|
||||
challengeType: 5
|
||||
forumTopicId: 302063
|
||||
dashedName: problem-398-cutting-rope
|
||||
@ -8,15 +8,15 @@ dashedName: problem-398-cutting-rope
|
||||
|
||||
# --description--
|
||||
|
||||
Inside a rope of length $n$, $n - 1$ points are placed with distance 1 from each other and from the endpoints. Among these points, we choose $m - 1$ points at random and cut the rope at these points to create $m$ segments.
|
||||
長さ $n$ のロープの内側に$n - 1$ 個の点が付けられています。点の間隔、および点からロープの端までの長さはそれぞれ 1 です。 これら点のうち、$m - 1$ 個の点を無作為に選択し、それらの点でロープを切断して $m$ 本のロープ片を作成します。
|
||||
|
||||
Let $E(n, m)$ be the expected length of the second-shortest segment. For example, $E(3, 2) = 2$ and $E(8, 3) = \frac{16}{7}$. Note that if multiple segments have the same shortest length the length of the second-shortest segment is defined as the same as the shortest length.
|
||||
2 番目に短いロープ片の長さの期待値を $E(n, m)$ とします。 例えば、$E(3, 2) = 2$, $E(8, 3) = \frac{16}{7} $ です。 なお、最短の長さのロープ片が複数ある場合、2 番目に短いロープ片の長さは最短の長さと同一であると定義します。
|
||||
|
||||
Find $E({10}^7, 100)$. Give your answer rounded to 5 decimal places behind the decimal point.
|
||||
$E({10}^7, 100)$ を求めなさい。 回答は、四捨五入して小数第 5 位まで示すこと。
|
||||
|
||||
# --hints--
|
||||
|
||||
`cuttingRope()` should return `2010.59096`.
|
||||
`cuttingRope()` は `2010.59096` を返す必要があります。
|
||||
|
||||
```js
|
||||
assert.strictEqual(cuttingRope(), 2010.59096);
|
||||
|
Reference in New Issue
Block a user