Run ID:93717
提交时间:2024-10-19 10:27:16
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")