HDU/3039/main.c

15 lines
278 B
C
Raw Permalink Normal View History

2020-08-31 16:48:58 +00:00
#include <stdio.h>
int main(void){
int numbers;
scanf("%d",&numbers);
int i,count;
double a ,b ,c;
for(count = 0; count < numbers; count++){
scanf("%lf %lf %lf",&a,&b,&c);
if(a < b + c && b < a + c && c < a + b) printf("YES\n");
else printf("NO\n");
}
return 0;
}