1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-12 10:51:42 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

存量题库数据更新

This commit is contained in:
2023-12-09 18:42:21 +08:00
parent a788808cd7
commit c198538f10
10843 changed files with 288489 additions and 248355 deletions

View File

@@ -10,14 +10,19 @@
<pre>
<strong>输入:</strong>nums = [2,1,2]
<strong>输出:</strong>5
<strong>解释:</strong>你可以用三个边长组成一个三角形:1 2 2。
</pre>
<p><strong>示例 2</strong></p>
<pre>
<strong>输入:</strong>nums = [1,2,1]
<strong>输入:</strong>nums = [1,2,1,10]
<strong>输出:</strong>0
</pre>
<strong>解释:</strong>
你不能用边长 1,1,2 来组成三角形。
不能用边长 1,1,10 来构成三角形。
不能用边长 1、2 和 10 来构成三角形。
因为我们不能用任何三条边长来构成一个非零面积的三角形,所以我们返回 0。</pre>
<p>&nbsp;</p>