#import <objc/objc.h>
#import <objc/Object.h>
#import <Foundation/Foundation.h>
@implementation TestObj
int main()
{
// your code goes here
return 0;
}
@end
I2ltcG9ydCA8b2JqYy9vYmpjLmg+CiNpbXBvcnQgPG9iamMvT2JqZWN0Lmg+CiNpbXBvcnQgPEZvdW5kYXRpb24vRm91bmRhdGlvbi5oPgoKQGltcGxlbWVudGF0aW9uIFRlc3RPYmoKaW50IG1haW4oKQp7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglyZXR1cm4gMDsKfQpAZW5k
I2luY2x1ZGUgJmx0O3N0ZGlvLmgmZ3Q7CgppbnQgbWFpbigpIHsKICAgIGRvdWJsZSB4LCB5LCB6OwogICAgcHJpbnRmKCZxdW90O+ivt+i+k+WFpeesrOS4gOadoei+ueeahOmVv+W6pu+8miZxdW90Oyk7CiAgICBzY2FuZigmcXVvdDslbGYmcXVvdDssICZhbXA7eCk7CiAgICBwcmludGYoJnF1b3Q76K+36L6T5YWl56ys5LqM5p2h6L6555qE6ZW/5bqm77yaJnF1b3Q7KTsKICAgIHNjYW5mKCZxdW90OyVsZiZxdW90OywgJmFtcDt5KTsKICAgIHByaW50ZigmcXVvdDvor7fovpPlhaXnrKzkuInmnaHovrnnmoTplb/luqbvvJomcXVvdDspOwogICAgc2NhbmYoJnF1b3Q7JWxmJnF1b3Q7LCAmYW1wO3opOwoKICAgIGlmICgoeCArIHkgJmd0OyB6KSAmYW1wOyZhbXA7ICh4ICsgeiAmZ3Q7IHkpICZhbXA7JmFtcDsgKHkgKyB6ICZndDsgeCkpIHsKICAgICAgICBwcmludGYoJnF1b3Q75Y+v5Lul5p6E5oiQ5LiJ6KeS5b2i44CCXG4mcXVvdDspOwogICAgfSBlbHNlIHsKICAgICAgICBwcmludGYoJnF1b3Q75LiN6IO95p6E5oiQ5LiJ6KeS5b2i44CCXG4mcXVvdDspOwogICAgfQoKICAgIHJldHVybiAwOwp9
#include <stdio.h>
int main() {
double x, y, z;
printf("请输入第一条边的长度:");
scanf("%lf", &x);
printf("请输入第二条边的长度:");
scanf("%lf", &y);
printf("请输入第三条边的长度:");
scanf("%lf", &z);
if ((x + y > z) && (x + z > y) && (y + z > x)) {
printf("可以构成三角形。\n");
} else {
printf("不能构成三角形。\n");
}
return 0;
}