a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
max_=max(a,b,c)
min_=min(a,b,c)
p=a+b+c-max_-min_
if min_+p>max_ and max_-min_<p:
print("Yes")
else:
print("No")
三角形判断 OJ python
最新推荐文章于 2022-09-05 23:13:47 发布
a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
max_=max(a,b,c)
min_=min(a,b,c)
p=a+b+c-max_-min_
if min_+p>max_ and max_-min_<p:
print("Yes")
else:
print("No")