#include <stdio.h>
#include <math.h>
typedef struct {
double a;
double b;
double c;
} triangle;
double s(triangle t) {
double p = (t.a + t.b + t.c) / 2;
return sqrt(p
* (p
- t.
a) * (p
- t.
b) * (p
- t.
c)); }
int main() {
triangle t;
scanf("%lf %lf %lf", &t.
a, &t.
b, &t.
c); printf("三角形の面積:%.6f\n", s
(t
));
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CgoKdHlwZWRlZiBzdHJ1Y3QgewogICAgZG91YmxlIGE7CiAgICBkb3VibGUgYjsKICAgIGRvdWJsZSBjOwp9IHRyaWFuZ2xlOwoKZG91YmxlIHModHJpYW5nbGUgdCkgewogICAgZG91YmxlIHAgPSAodC5hICsgdC5iICsgdC5jKSAvIDI7IAogICAgcmV0dXJuIHNxcnQocCAqIChwIC0gdC5hKSAqIChwIC0gdC5iKSAqIChwIC0gdC5jKSk7ICAKfQoKaW50IG1haW4oKSB7CiAgICB0cmlhbmdsZSB0OyAKICAgIHNjYW5mKCIlbGYgJWxmICVsZiIsICZ0LmEsICZ0LmIsICZ0LmMpOwogICAgcHJpbnRmKCJhOiUuMGZcbiIsIHQuYSk7CiAgICBwcmludGYoImI6JS4wZlxuIiwgdC5iKTsKICAgIHByaW50ZigiYzolLjBmXG4iLCB0LmMpOwogICAgcHJpbnRmKCLkuInop5LlvaLjga7pnaLnqY06JS42ZlxuIiwgcyh0KSk7CgogICAgcmV0dXJuIDA7Cn0KCgoKCgo=