Run ID:93718
提交时间:2024-10-19 10:28:26
t=int(input()) for i in range(t): a,b,c = map(int,input().split()) if a**2+b**2=c**2 or a**2+c**2=b**2 or c**2+b**2=a**2: print("good") elif a==b or a==c or b==c : print("perfect") else: print("just a triangle")