/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 15ms 3.094 MiB
#2 Wrong Answer 16ms 3.102 MiB

Code

#print(8)
list1=[]
n=int(input())
for x in range(n):
    a,b,c=map(int,input().split())
    mx=max(a,b,c)
    if b==mx:
        tmp=b
        b=a
        a=tmp
    if c==mx:
        tmp=c
        c=a
        a=tmp
    if a>(b+c):
        list1.append("NO")
    else:
        list1.append("YES")
for x in list1:
    print(x)

Information

Submit By
Type
Submission
Problem
P1047 3buj
Contest
TLE_Headquarters - round #1
Language
Python 3 (Python 3.12.3)
Submit At
2024-03-27 16:38:49
Judged At
2024-10-03 13:56:46
Judged By
Score
20
Total Time
16ms
Peak Memory
3.102 MiB