chore(i18n,learn): processed translations (#44866)

This commit is contained in:
camperbot
2022-01-22 20:38:20 +05:30
committed by GitHub
parent d039479e66
commit 43a2a0a395
324 changed files with 2907 additions and 2916 deletions

View File

@ -1,6 +1,6 @@
---
id: 5900f4a61000cf542c50ffb8
title: 'Problem 313: Sliding game'
title: 'Problem 313: スライドゲーム'
challengeType: 5
forumTopicId: 301969
dashedName: problem-313-sliding-game
@ -8,21 +8,21 @@ dashedName: problem-313-sliding-game
# --description--
In a sliding game a counter may slide horizontally or vertically into an empty space. The objective of the game is to move the red counter from the top left corner of a grid to the bottom right corner; the space always starts in the bottom right corner. For example, the following sequence of pictures show how the game can be completed in five moves on a 2 by 2 grid.
スライドゲームでは、カウンターを縦か横にスライドさせて空のスペースに移動します。 ゲームの目的は、赤のカウンターを格子の左上隅から右下隅へ移動することです。開始時は必ず右下隅が空いています。 例えば、次の一連の画像は、2 × 2 の格子上で 5 手でゲームを終える方法を示しています。
<img class="img-responsive center-block" alt="completing game in five moves on grid 2x2" src="https://cdn.freecodecamp.org/curriculum/project-euler/sliding-game-1.gif" style="background-color: white; padding: 10px;" />
<img class="img-responsive center-block" alt="2 x 2 の格子でゲームを終える" src="https://cdn.freecodecamp.org/curriculum/project-euler/sliding-game-1.gif" style="background-color: white; padding: 10px;" />
Let $S(m, n)$ represent the minimum number of moves to complete the game on an $m$ by $n$ grid. For example, it can be verified that $S(5, 4) = 25$.
$m$ x $n$ の格子でゲームを終えるための最小移動回数を、$S(m, n)$ とします。 例えば、$S(5, 4) = 25$ であることを確認できます。
<img class="img-responsive center-block" alt="initial grid state and final grid state for game on grid 5x4" src="https://cdn.freecodecamp.org/curriculum/project-euler/sliding-game-2.gif" style="background-color: white; padding: 10px;" />
<img class="img-responsive center-block" alt="5 x 4 の格子を使ったゲームの初期状態と最終状態" src="https://cdn.freecodecamp.org/curriculum/project-euler/sliding-game-2.gif" style="background-color: white; padding: 10px;" />
There are exactly 5482 grids for which $S(m, n) = p^2$, where $p &lt; 100$ is prime.
素数 $p &lt; 100$ について、$S(m, n) = p^2$ となる格子はちょうど 5482 個あります。
How many grids does $S(m, n) = p^2$, where $p &lt; {10}^6$ is prime?
素数 $p &lt; {10}^6$ について、$S(m, n) = p^2$ となる格子はいくつありますか。
# --hints--
`slidingGame()` should return `2057774861813004`.
`slidingGame()` `2057774861813004` を返す必要があります。
```js
assert.strictEqual(slidingGame(), 2057774861813004);