未发现错误。你那是什么错?#include #include int main() { double a,b,c,d,e; cin >> a >> b >> c; if (a+b>c && a+c > b && b+c > a) { d = (a+b+c)/2; e = sqrt(d*(d-a)*(d-b)*(d-c)); cout < } else { cout << "wrong"; }}