HDU 2039 - 三角形

来源:互联网 发布:下载软件评测 编辑:程序博客网 时间:2024/05/17 03:23

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2039

#include <stdio.h>int main(void){int n;double a, b, c;scanf("%d", &n);while (n-- && scanf("%lf%lf%lf", &a, &b, &c))puts(a + b > c && a + c > b && b + c > a ? "YES" : "NO");return 0;}


原创粉丝点击