#include<stdio.h>
int main()
{
int a,b,c,temp;
float p;
int i=0;
scanf("%d",&i);
while(i–)
{
scanf("%d%d%d",&a,&b,&c);
if(a>b)
{
temp = a;
a = b;
b = temp;
}
if(a>c)
{
temp = a;
a = c;
c = temp;
}
if(b>c)
{
temp = b;
b = c;
c = temp;
}
p = (a + b + c)/3.0;
if(b > p)
printf(“Yes\n”);
else
printf(“No\n”);
}
return 0;
}
优越数
最新推荐文章于 2021-12-31 21:29:22 发布