题目:

代码:
#include <bits/stdc++.h>
#include <cmath>
using namespace std;
int main() {
double a, b, c,p,s;
cin >> a >> b >> c;
p = (a + b + c) / 2;
s = p * (p - a) * (p - b) * (p - c);
s = sqrt(s);
cout << fixed << setprecision(4) << s << endl;
return 0;
}

1万+

被折叠的 条评论
为什么被折叠?



