开始 2024-01-27 14:30:00

1.27下午课前复习

结束 2024-01-27 17:00:00
Contest is over.
当前 2025-05-03 18:50:39

B

include<bits/stdc++.h>

using namespace std; int main(){

double a,b,c;
cin>>a>>b>>c;
double p=(a+b+c)/2;
cout<<"area=";
cout<<setiosflags(ios::fixed)<<setprecision(2)<<sqrt(p*(p-a)*(p-b)*(p-c))<<endl;
return 0;

}


7iok  •  1年前

比赛已结束。