Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
116775 | 何健 | 判断三角形形状 | Python3 | Compile Error | 0 MS | 0 KB | 270 | 2025-04-12 14:19:06 |
n=int(input()) for i in range(n): a,b,c=input().split() a,b,c=int(a),int(b),int(c) if a**2+b**2-c**2==0 or a**2+c**2-b**2==0 or c**2+b**2-a**2==0: print("good") elif a == b or b == c or a == c: print("perfect") else: print("just a triangle")
Sorry: TabError: inconsistent use of tabs and spaces in indentation (Main.py, line 6)