Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
129961 黄曦 海伦公式 C++ Accepted 100 0 MS 248 KB 182 2024-01-27 14:40:45

Tests(2/2):


#include<bits/stdc++.h> using namespace std; int main() { double a,b,c,p,x; cin>>a>>b>>c; p=(a+b+c)/2; x=sqrt(p*(p-a)*(p-b)*(p-c)); printf("area=%.2f",x); }


Judgement Protocol: