Wrong Answer
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("YES")
if a>(b+c):
list1.append("NO")
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:31:51
- Judged At
- 2024-11-11 03:38:35
- Judged By
- Score
- 20
- Total Time
- 22ms
- Peak Memory
- 3.023 MiB