mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-24 06:18:57 +08:00
批量更新数据
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<p>我们把玻璃杯摆成金字塔的形状,其中 <strong>第一层</strong> 有 <code>1</code> 个玻璃杯, <strong>第二层</strong> 有 <code>2</code> 个,依次类推到第 100 层,每个玻璃杯 (250ml) 将盛有香槟。</p>
|
||||
<p>我们把玻璃杯摆成金字塔的形状,其中 <strong>第一层</strong> 有 <code>1</code> 个玻璃杯, <strong>第二层</strong> 有 <code>2</code> 个,依次类推到第 100 层,每个玻璃杯将盛有香槟。</p>
|
||||
|
||||
<p>从顶层的第一个玻璃杯开始倾倒一些香槟,当顶层的杯子满了,任何溢出的香槟都会立刻等流量的流向左右两侧的玻璃杯。当左右两边的杯子也满了,就会等流量的流向它们左右两边的杯子,依次类推。(当最底层的玻璃杯满了,香槟会流到地板上)</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user