Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
129978 黄本瀚 海伦公式 C++ 解答错误 0 0 MS 252 KB 173 2024-01-27 14:44:34

Tests(0/2):


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


测评信息: