1 #include<iostream> 2 #include<iomanip> 3 //#include<bits/stdc++.h> 4 #include<cstdio> 5 #include<algorithm> 6 #include<cmath> 7 #define PI 3.14159265358979 8 #define LL long long 9 #define INF 10000001000 10 #define eps 0.00000001 11 using namespace std; 12 int main() 13 { 14 LL T; 15 double a,b,c; 16 cin>>T; 17 while(T--) 18 { 19 cin>>a>>b>>c; 20 if(a+b>c&&a+c>b&&b+c>a) puts("YES"); 21 else puts("NO"); 22 23 } 24 }
原文:https://www.cnblogs.com/Auroras/p/10802477.html