OJ-Problems-Source/HDOJ/2039_autoAC.cpp
2016-08-19 16:52:35 +08:00

18 lines
329 B
C++

#include<stdio.h>
#include<iostream>
#include<cstring>
using namespace std;
int main()
{
int m;
double a,b,c;
cin>>m;
while(m--){
cin >> a >> b >> c;
if(a>b) swap(a,b);
if(b>c) swap(b,c);
if(a+b>c) cout << "YES" << endl;
else cout << "NO" << endl;
}
}