Help me in solving INDEPENDENCE problem

My issue

Please how did the extra 1 come into the picture ?

My code

# cook your dish here
t = int(input())
for i in range(t):
    x,y,z= map(int,input().split())
    b = max(x,y,z)
    c = min(x,y,z)
    d = x+y+z-(b+c)
    if c+d+1>b:print("YES")
    else: print("NO")

Problem Link: Independence Day 101 Practice Coding Problem