Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144266 潘佳慧 11判断三角形 Python3 Accepted 32 MS 3780 KB 366 2026-01-20 21:25:39

Tests(10/10):


Code:

a, b, c = map(int, input().split()) sides = sorted([a, b, c]) x, y, z = sides if x + y <= z: print("No") else: if x == y == z: print("Equilateral Triangle") elif x **2 + y** 2 == z **2: print("Right Triangle") elif x == y or y == z or x == z: print("Isosceles Triangle") else: print("Simple Triangle")