15 条题解

  • 0
    @ 2024-2-3 17:06:27
    #include<iostream>
    #include<cstdio>
    #include<string>
    #include<bits/stdc++.h>
    #define LL long long
    using namespace std;
    const int INF=0x3f3f3f3f;
    const int N=2e5+10;
    double a,b,c;
    int main(){
    	cin>>a>>b>>c;
    	double p=(a+b+c)/2;
    	printf("%.2f",sqrt(p*(p-a)*(p-b)*(p-c)));
    }
    
    
    
    
    

    信息

    ID
    822
    时间
    1000ms
    内存
    128MiB
    难度
    5
    标签
    递交数
    1009
    已通过
    356
    上传者