| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 129981 | 黄本瀚 | 海伦公式 | C++ | Accepted | 100 | 0 MS | 244 KB | 173 | 2024-01-27 14:45:07 |
#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); }