Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
116774 何健 判断三角形形状 Python3 Compile Error 0 MS 0 KB 256 2025-04-12 14:17:08

Tests(0/0):


Code:

for i in range(4): 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")


Run Info:

Sorry: TabError: inconsistent use of tabs and spaces in indentation (Main.py, line 5)