-Code
for i in range(int(input())):
tri = sorted(list(map(int, input().split())))
res = "NO"
if tri[-1] ** 2 == tri[0] ** 2 + tri[1] ** 2:
res = "YES"
print(f"Case #{i + 1}: {res}")
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 8371번 Dyslexia (0) | 2022.10.17 |
---|---|
[백준/파이썬] 9723번 Digit Count (0) | 2022.10.17 |
[백준/파이썬] 6030번 Scavenger Hunt (1) | 2022.10.13 |
[백준/파이썬] 11367번 Report Card Time (0) | 2022.10.12 |
[백준/파이썬] 25815번 Cat’s Age (0) | 2022.10.11 |