| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144254 | 贺洁 | 11判断三角形 | Python3 | Wrong Answer | 30 MS | 3784 KB | 568 | 2026-01-20 20:41:39 |
a=int(input()) b=int(input()) c=int(input()) if abs(a-b)<=c<=abs(a+b)and abs(b-c)<=a<=abs(b+c)and abs(a-c)<=b<=abs(a+c): if a**2+b**2==c**2 or a**2+c**2==b**2 or b**2+c**2==a**2: if a==b or a==c or b==c: print("该三角形为等腰直角三角形") else: print("该三角形为直角三角形") elif a== b or a==c or b==c: print("该三角形为等腰三角形") elif a==b==c: print("该三角形为等边三角形") else: print("该三角形为一般三角形") else: print("不能构成三角形")
------Input------
12 19 20
------Answer-----
Simple Triangle
------Your output-----