#include <stdio.h>
#include <math.h>
struct sankaku{
double a;
double b;
double c;
};
int main() {
struct sankaku variable;
double s,p;
scanf("%lf %lf %lf",&variable.
a,&variable.
b,&variable.
c); p=(variable.a+variable.b+variable.c)/2;
s
=sqrt(p
*(p
-variable.
a)*(p
-variable.
b)*(p
-variable.
c)); printf("a=%.1lf\nb=%.1lf\nc=%.1lf\ns=%lf",variable.
a,variable.
b,variable.
c,s
); struct sankaku hutatume;
double q,r;
scanf("%lf %lf %lf",&hutatume.
a,&hutatume.
b,&hutatume.
c); q=(hutatume.a+hutatume.b+hutatume.c)/2;
r
=sqrt(q
*(q
-hutatume.
a)*(q
-hutatume.
b)*(q
-hutatume.
c)); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CgpzdHJ1Y3Qgc2Fua2FrdXsKCWRvdWJsZSBhOwoJZG91YmxlIGI7Cglkb3VibGUgYzsKfTsKCmludCBtYWluKCkgewoJc3RydWN0IHNhbmtha3UgdmFyaWFibGU7Cglkb3VibGUgcyxwOwoJc2NhbmYoIiVsZiAlbGYgJWxmIiwmdmFyaWFibGUuYSwmdmFyaWFibGUuYiwmdmFyaWFibGUuYyk7CglwPSh2YXJpYWJsZS5hK3ZhcmlhYmxlLmIrdmFyaWFibGUuYykvMjsKCXM9c3FydChwKihwLXZhcmlhYmxlLmEpKihwLXZhcmlhYmxlLmIpKihwLXZhcmlhYmxlLmMpKTsKCXByaW50ZigiYT0lLjFsZlxuYj0lLjFsZlxuYz0lLjFsZlxucz0lbGYiLHZhcmlhYmxlLmEsdmFyaWFibGUuYix2YXJpYWJsZS5jLHMpOwoJc3RydWN0IHNhbmtha3UgaHV0YXR1bWU7Cglkb3VibGUgcSxyOwoJc2NhbmYoIiVsZiAlbGYgJWxmIiwmaHV0YXR1bWUuYSwmaHV0YXR1bWUuYiwmaHV0YXR1bWUuYyk7CglxPShodXRhdHVtZS5hK2h1dGF0dW1lLmIraHV0YXR1bWUuYykvMjsKCXI9c3FydChxKihxLWh1dGF0dW1lLmEpKihxLWh1dGF0dW1lLmIpKihxLWh1dGF0dW1lLmMpKTsKCXByaW50ZigiXG5yPSVsZiIscik7CglyZXR1cm4gMDsKfQo=