Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
84411 丁俊杰 11判断三角形 Python3 Wrong Answer 32 MS 3784 KB 352 2024-07-15 19:56:32

Tests(4/10):


Code:

a,b,c=map(int,input().split()) zuida=max(a,b,c) if a+b+c>2*zuida: if a==b==c: print("Equilateral Triangle") elif a==b or a==c or b==c: print("Isosceles Triangle") elif a*2+b*2==c*2 or a*2+c*2==b*2 or b*2+c*2==a*2: print("Right Triangle") else: print("Simple Triangle") else: print("No")


Run Info:

------Input------
8 15 17
------Answer-----
Right Triangle
------Your output-----
Simple Triangle