Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
130005 | 王影彤 | 海伦公式 | C++ | 解答错误 | 0 | 0 MS | 244 KB | 217 | 2024-01-27 14:53:34 |
#include <bits/stdc++.h> using namespace std; int main(){ float a,b,c,p; cin>>a>>b>>c; float i,n,m; i=p-a; n=p-b; m=p-c; float s; s=p*i*n*m; float z; z=sqrt(s); printf("%.3f",z); return 0; }