提交时间:2024-01-27 14:45:07

运行 ID: 129981

#include<bits/stdc++.h> using namespace std; int main(){ double p,a,b,c,d; cin>>a>>b>>c; p=(a+b+c)/2; d=sqrt(p*(p-a)*(p-b)*(p-c)); printf("area=""%.2f",d); }