Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144272 夏宇航 11判断三角形 Python3 Wrong Answer 31 MS 3788 KB 421 2026-01-20 21:37:52

Tests(5/10):


Code:

a, b, c = input().split() a, b, c =int(a),int(b),int(c) if a + b <= c or a + c <= b or b + c <= a: print('NO') else: if a == b == c: print('Equilateral Triangle') elif a**2 + b**2 == c**2 or b**2 + c**2 == a**2 or c**2 + a**2 == b**2: print('Right Triangle') elif a == b or a == c or b == c: print('Isosceles Triangle') else: print('Simple Triangle')


Run Info:

------Input------
9 19 5
------Answer-----
No
------Your output-----
NO