Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
86923 | 张智博 | 判断三角形形状 | Python3 | Accepted | 38 MS | 3756 KB | 286 | 2024-07-29 22:13:29 |
t = int(input()) for _ 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 b**2 + c**2 == a**2: print("good") elif a == b or b == c or a == c: print("perfect") else: print("just a triangle")