#include <stdio.h>
#include <math.h>
struct Triangle {
double a;
double b;
double c;
};
int main(void) {
struct Triangle triangle;
scanf("%lf", &triangle.
a); scanf("%lf", &triangle.
b); scanf("%lf", &triangle.
c);
double s = (triangle.a + triangle.b + triangle.c) / 2.0;
double area
= sqrt(s
* (s
- triangle.
a) * (s
- triangle.
b) * (s
- triangle.
c));
printf("三角形の辺:はa = %.1lf, b = %.1lf, c = %.1lf\n", triangle.
a, triangle.
b, triangle.
c); printf("三角形の面積は %.6lf\n", area
);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CgpzdHJ1Y3QgVHJpYW5nbGUgewogICAgZG91YmxlIGE7CiAgICBkb3VibGUgYjsKICAgIGRvdWJsZSBjOwp9OwoKaW50IG1haW4odm9pZCkgewogICAgc3RydWN0IFRyaWFuZ2xlIHRyaWFuZ2xlOwoKICAgIHNjYW5mKCIlbGYiLCAmdHJpYW5nbGUuYSk7CiAgICBzY2FuZigiJWxmIiwgJnRyaWFuZ2xlLmIpOwogICAgc2NhbmYoIiVsZiIsICZ0cmlhbmdsZS5jKTsKCiAgICBkb3VibGUgcyA9ICh0cmlhbmdsZS5hICsgdHJpYW5nbGUuYiArIHRyaWFuZ2xlLmMpIC8gMi4wOwogICAgZG91YmxlIGFyZWEgPSBzcXJ0KHMgKiAocyAtIHRyaWFuZ2xlLmEpICogKHMgLSB0cmlhbmdsZS5iKSAqIChzIC0gdHJpYW5nbGUuYykpOwoKICAgIHByaW50Zigi5LiJ6KeS5b2i44Gu6L66OuOBr2EgPSAlLjFsZiwgYiA9ICUuMWxmLCBjID0gJS4xbGZcbiIsIHRyaWFuZ2xlLmEsIHRyaWFuZ2xlLmIsIHRyaWFuZ2xlLmMpOwogICAgcHJpbnRmKCLkuInop5LlvaLjga7pnaLnqY3jga8gJS42bGZcbiIsIGFyZWEpOwoKICAgIHJldHVybiAwOwp9Cg==