mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 16:01:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<li>the vertex <code>(i - 1 + n) % n</code> in the counter-clockwise direction.</li>
|
||||
</ul>
|
||||
|
||||
<p>A <strong>collision</strong> happens if at least two monkeys reside on the same vertex after the movement.</p>
|
||||
<p>A <strong>collision</strong> happens if at least two monkeys reside on the same vertex after the movement or intersect on an edge.</p>
|
||||
|
||||
<p>Return <em>the number of ways the monkeys can move so that at least <strong>one collision</strong></em> <em> happens</em>. Since the answer may be very large, return it modulo <code>10<sup>9 </sup>+ 7</code>.</p>
|
||||
|
||||
|
Reference in New Issue
Block a user