#B. C++-判断-输入三角形的三边长a,b,c,判断是否能够成三角形,并求面积(使用嵌套if)

    Type: Default 1000ms 256MiB

C++-判断-输入三角形的三边长a,b,c,判断是否能够成三角形,并求面积(使用嵌套if)

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Description

输入三角形的三边长a,b,c,判断是否能够成三角形,并求面积(使用嵌套if) (不能使用逻辑运算符 && 、||、 !) image

三角形的面积公式(海伦公式):

image

Format

Input

Output

Samples

1 2 3
No
3 4 5
6
5 9 2
No

Limitation

1s, 1024KiB for each test case.

判断

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
7
Start at
2024-4-21 0:00
End at
2024-5-3 12:00
Duration
300 hour(s)
Host
Partic.
17