mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 23:11:41 +08:00
update
This commit is contained in:
@@ -51,4 +51,5 @@ atm.withdraw(550); // Returns [0,1,0,0,1]. The machine uses 1 $50 banknot
|
||||
<li><code>1 <= amount <= 10<sup>9</sup></code></li>
|
||||
<li>At most <code>5000</code> calls <strong>in total</strong> will be made to <code>withdraw</code> and <code>deposit</code>.</li>
|
||||
<li>At least <strong>one</strong> call will be made to each function <code>withdraw</code> and <code>deposit</code>.</li>
|
||||
<li>Sum of <code>banknotesCount[i]</code> in all deposits doesn't exceed <code>10<sup>9</sup></code></li>
|
||||
</ul>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<p>On a <strong>0-indexed</strong> <code>8 x 8</code> chessboard, there can be multiple black queens ad one white king.</p>
|
||||
<p>On a <strong>0-indexed</strong> <code>8 x 8</code> chessboard, there can be multiple black queens and one white king.</p>
|
||||
|
||||
<p>You are given a 2D integer array <code>queens</code> where <code>queens[i] = [xQueen<sub>i</sub>, yQueen<sub>i</sub>]</code> represents the position of the <code>i<sup>th</sup></code> black queen on the chessboard. You are also given an integer array <code>king</code> of length <code>2</code> where <code>king = [xKing, yKing]</code> represents the position of the white king.</p>
|
||||
|
||||
|
Reference in New Issue
Block a user