SWEA
[python][SWEA][D3] 3456. 직사각형 길이 찾기
haju
2023. 5. 11. 23:35
SW Expert Academy
SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!
swexpertacademy.com
T=int(input())
for test_case in range(1,T+1):
a,b,c=map(int,input().split())
if a==b==c:
print("#%d %d" %(test_case,a))
elif a==b and b!=c:
print("#%d %d" %(test_case,c))
elif a!=b and b==c:
print("#%d %d" % (test_case, a))
elif a==c and b!=c:
print("#%d %d" % (test_case, b))