mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
18 lines
329 B
C++
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;
|
||
|
}
|
||
|
}
|