TIJIE
2024-01-06 10:08:55
发布于:广东
30阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main()
{
    double a,b,c,p;
    cin>>a>>b>>c;
    p=(a+b+c)/2;
    cout<<fixed<<setprecision(2)<<sqrt(p*(p-a)*(p-b)*(p-c));
}
| 1 | 4 |
|--2-|--5-|
| 3 | 6 |
这里空空如也

有帮助,赞一个