#include <stdio.h>
#include <math.h>
struct hen {
double a;
double b;
double c;
}sankaku;
int main(void) {
double s,S;
s = (sankaku.a+sankaku.b+sankaku.c)/2.0;
S
= sqrt(s
*(s
-sankaku.
a)*(s
-sankaku.
b)*(s
-sankaku.
c));
printf("辺aの長さは%lf\n",sankaku.
a); printf("辺bの長さは%lf\n",sankaku.
b); printf("辺cの長さは%lf\n",sankaku.
c);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CgpzdHJ1Y3QgaGVuIHsKCWRvdWJsZSBhOwoJZG91YmxlIGI7Cglkb3VibGUgYzsKCn1zYW5rYWt1OwoKaW50IG1haW4odm9pZCkgewoJZG91YmxlIHMsUzsKCQoJc2NhbmYoIiVsZiIsJnNhbmtha3UuYSk7CglzY2FuZigiJWxmIiwmc2Fua2FrdS5iKTsKCXNjYW5mKCIlbGYiLCZzYW5rYWt1LmMpOwoKCXMgPSAoc2Fua2FrdS5hK3Nhbmtha3UuYitzYW5rYWt1LmMpLzIuMDsKCQoJUyA9IHNxcnQocyoocy1zYW5rYWt1LmEpKihzLXNhbmtha3UuYikqKHMtc2Fua2FrdS5jKSk7CgkKCXByaW50Zigi6L66YeOBrumVt+OBleOBryVsZlxuIixzYW5rYWt1LmEpOwoJcHJpbnRmKCLovrpi44Gu6ZW344GV44GvJWxmXG4iLHNhbmtha3UuYik7CglwcmludGYoIui+umPjga7plbfjgZXjga8lbGZcbiIsc2Fua2FrdS5jKTsKCXByaW50Zigi44OY44Ot44Oz44Gu5YWs5byP44KI44KK6Z2i56mN44GvJWxmXG4iLFMpOwoKCXJldHVybiAwOwp9Cgo=