| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 129949 | 古浩圳bylz | 海伦公式 | C++ | Accepted | 100 | 0 MS | 260 KB | 202 | 2024-01-27 14:39:04 |
#include<iostream> #include<cstdio> #include<cmath> using namespace std; int main(){ double a,b,c,p; cin>>a>>b>>c; p=(a+b+c)/2; printf("area=%.2f",sqrt(p*(p-a)*(p-b)*(p-c))); return 0; }