1 条题解

  • 0
    @ 2024-8-12 10:03:14
    #include<bits/stdc++.h>
    using namespace std;
    double a,b,c;
    double p;
    int main(){
    	ios::sync_with_stdio(NULL);
    	cin.tie(0);cout.tie(0);
    	cin>>a>>b>>c;
    	p=0.5*(a+b+c);
    	printf("%.1lf",sqrt(p*(p-a)*(p-b)*(p-c)));
    	return 0;
    }//日常水题
    
    • 1

    信息

    ID
    541
    时间
    1000ms
    内存
    256MiB
    难度
    9
    标签
    (无)
    递交数
    9
    已通过
    4
    上传者