Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
109780 | 6倪葭轩 | 判断三角形形状 | Python3 | Accepted | 39 MS | 3768 KB | 287 | 2025-02-11 14:25:05 |
n=int(input()) for x in range(n): a,b,c,=input().split() a=int(a) b= int(b) c = int(c) if a*a+b*b==c*c or b*b+c*c==a*a or a*a+c*c==b*b: print('good') elif a==b or b==c or a==c: print('perfect') else: print('just a triangle')