#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("\n三角形の辺: a = %.2lf, b = %.2lf, c = %.2lf\n", triangle.
a, triangle.
b, triangle.
c); printf("三角形の面積: %.2lf\n", area
);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CgpzdHJ1Y3QgVHJpYW5nbGUgewogICAgZG91YmxlIGE7CiAgICBkb3VibGUgYjsKICAgIGRvdWJsZSBjOwp9OwoKaW50IG1haW4odm9pZCkgewogICAgc3RydWN0IFRyaWFuZ2xlIHRyaWFuZ2xlOwoKICAgIHByaW50Zigi6L66IGE6ICIpOwogICAgc2NhbmYoIiVsZiIsICZ0cmlhbmdsZS5hKTsKICAgIHByaW50Zigi6L66IGI6ICIpOwogICAgc2NhbmYoIiVsZiIsICZ0cmlhbmdsZS5iKTsKICAgIHByaW50Zigi6L66IGM6ICIpOwogICAgc2NhbmYoIiVsZiIsICZ0cmlhbmdsZS5jKTsKCiAgICBkb3VibGUgcyA9ICh0cmlhbmdsZS5hICsgdHJpYW5nbGUuYiArIHRyaWFuZ2xlLmMpIC8gMi4wOwogICAgZG91YmxlIGFyZWEgPSBzcXJ0KHMgKiAocyAtIHRyaWFuZ2xlLmEpICogKHMgLSB0cmlhbmdsZS5iKSAqIChzIC0gdHJpYW5nbGUuYykpOwoKICAgIHByaW50ZigiXG7kuInop5LlvaLjga7ovro6IGEgPSAlLjJsZiwgYiA9ICUuMmxmLCBjID0gJS4ybGZcbiIsIHRyaWFuZ2xlLmEsIHRyaWFuZ2xlLmIsIHRyaWFuZ2xlLmMpOwogICAgcHJpbnRmKCLkuInop5LlvaLjga7pnaLnqY06ICUuMmxmXG4iLCBhcmVhKTsKCiAgICByZXR1cm4gMDsKfQ==