1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-10 18:48:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/problem (Chinese)/按规则计算统计结果 [gou-jian-cheng-ji-shu-zu-lcof].html
2023-12-09 18:53:53 +08:00

22 lines
880 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>为了深入了解这些生物群体的生态特征,你们进行了大量的实地观察和数据采集。数组 <code>arrayA</code> 记录了各个生物群体数量数据,其中 <code>arrayA[i]</code> 表示第 <code>i</code> 个生物群体的数量。请返回一个数组 <code>arrayB</code>,该数组为基于数组 <code>arrayA</code> 中的数据计算得出的结果,其中 <code>arrayB[i]</code> 表示将第 <code>i</code> 个生物群体的数量从总体中排除后的其他数量的乘积。</p>
<p>&nbsp;</p>
<p><strong>示例 1</strong></p>
<pre>
<strong>输入:</strong>arrayA = [2, 4, 6, 8, 10]
<strong>输出:</strong>[1920, 960, 640, 480, 384]
</pre>
<p>&nbsp;</p>
<p><strong>提示:</strong></p>
<ul>
<li>所有元素乘积之和不会溢出 32 位整数</li>
<li><code>arrayA.length &lt;= 100000</code></li>
</ul>
<p>&nbsp;</p>