标签:
1 #include <stdio.h> 2 int main() 3 { 4 double a, b, c; 5 int m; 6 scanf("%d", &m); 7 while(m --) 8 { 9 scanf("%lf%lf%lf", &a, &b, &c); 10 if(!a || !b || !c) 11 { 12 printf("NO\n"); 13 continue; 14 } 15 else if(a+b>c && b+c>a && a+c>b) 16 printf("YES\n"); 17 else 18 printf("NO\n"); 19 } 20 }
标签:
原文地址:http://www.cnblogs.com/digulove/p/4739887.html