Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
129998 林麒瑞 海伦公式 C++ 编译错误 0 0 MS 0 KB 225 2024-01-27 14:52:16

Tests(0/0):


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; }


测评信息: