Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144203 刘思雨 11判断三角形 Python3 Wrong Answer 31 MS 3776 KB 378 2026-01-20 16:43:09

Tests(0/10):


Code:

a=int(input()) b=int(input()) c=int(input()) 0<=a,b,c<=1e5 if a+b<=c or a+c<=b or c+b<=a: print("NO") else: if a==b==c: print("Equilateral Triangle") elif a==b or b==c or a==c: print("Isosceles Triangle") elif a*a+b*b==c*c or b*b+c*c==a*a or a*a+c*c==b*b: print("Right Triangle") else: print("Simple Triangle")


Run Info:

------Input------
12 19 20
------Answer-----
Simple Triangle
------Your output-----