mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
存量题库数据更新
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<p>Return <em>the probability that the knight remains on the board after it has stopped moving</em>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> n = 3, k = 2, row = 0, column = 0
|
||||
@@ -19,7 +19,7 @@ From each of those positions, there are also two moves that will keep the knight
|
||||
The total probability the knight stays on the board is 0.0625.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> n = 1, k = 0, row = 0, column = 0
|
||||
@@ -32,5 +32,5 @@ The total probability the knight stays on the board is 0.0625.
|
||||
<ul>
|
||||
<li><code>1 <= n <= 25</code></li>
|
||||
<li><code>0 <= k <= 100</code></li>
|
||||
<li><code>0 <= row, column <= n</code></li>
|
||||
<li><code>0 <= row, column <= n - 1</code></li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user