Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144206 毛梦瑶 11判断三角形 Python3 Wrong Answer 31 MS 3776 KB 365 2026-01-20 17:24:35

Tests(1/10):


Code:

a,b,c=input().split() a=int(a);b=int(b);c=int(c) if a+b>c and a+c>b and b+c>a: if a*a+b*b==c*c or b*b+c*c==a*a or a*a+c*c==b*b: print("Right Triangle") elif a==b==c: print("Equilateral Triangle") elif a==b or b==c or a==c: print("lsosceles Triangle") else: print("Simple Triangle") else: print("No")


Run Info:

------Input------
14 14 8
------Answer-----
Isosceles Triangle
------Your output-----
lsosceles Triangle