注意long long 的范围!!!!!
#include<stdio.h>
#include<algorithm>using namespace std;
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int i, j;
long long s[10];
for(i=1; i<=4; i++)
{
scanf("%I64d",&s[i]);
}
sort(s+1, s+5);
if(s[1]==0)
{
printf("No\n");
}
else
{
if(s[3]>s[4]-s[2]-s[1])
printf("Yes\n");
else
printf("No\n");
}
}
}