三角形
#include<iostream>
using namespace std;
int main()
{
int x,i,j,n;
double a[3],temp;
cin>>n;
for(x = 0 ; x < n ; x++)
{
cin>>a[0]>>a[1]>>a[2];
for(j = 0 ; j < 2 ; j++)
for(i = 0 ; i < 2 ; i++)
if(a[i]>a[i+1])
{
temp = a[i];
a[i] = a[i+1];
a[i+1] = temp;
}
if(a[2] < a[1] + a[0])
cout<< "YES" << endl;
else
cout<< "NO" << endl;
}
return 0;
}