#include <stdio.h>
#include <math.h>
struct data {
double a;
double b;
double c;
};
int main() {
struct data n;
printf("a=%lf,b=%lf,c=%lf\n",n.
a,n.
b,n.
c);
double s = (n.a + n.b + n.c) / 2.0;
double K
= sqrt(s
* (s
- n.
a) * (s
- n.
b) * (s
- n.
c));
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CgpzdHJ1Y3QgZGF0YSB7CiAgICBkb3VibGUgYTsgCiAgICBkb3VibGUgYjsKICAgIGRvdWJsZSBjOyAKfTsKCmludCBtYWluKCkgewogICAgc3RydWN0IGRhdGEgbjsKICAgIHNjYW5mKCIlbGYiLCAmbi5hKTsKICAgIHNjYW5mKCIlbGYiLCAmbi5iKTsKICAgIHNjYW5mKCIlbGYiLCAmbi5jKTsKICAgIHByaW50ZigiYT0lbGYsYj0lbGYsYz0lbGZcbiIsbi5hLG4uYixuLmMpOwogICAgCiAgICBkb3VibGUgcyA9IChuLmEgKyBuLmIgKyBuLmMpIC8gMi4wOwogICAgZG91YmxlIEsgPSBzcXJ0KHMgKiAocyAtIG4uYSkgKiAocyAtIG4uYikgKiAocyAtIG4uYykpOwogICAgcHJpbnRmKCLpnaLnqY3jga8gJWxmXG4iLCBLKTsKCiAgICByZXR1cm4gMDsKfQ==