1
o, d, t = int(input()), int(input()), int(input())
if d >= o <= t:
print(od)
elif o >= d <= t:
print(d)
else:
print(t)
2
if o == d == t :
print(3)
elif o == d or o == t or d == t:
print(2)
print(0)
3
x1, x2, y1, y2 = int(input()), int(input()), int(input()), int(input())
if (x1 - x2) * (y1 - y2) == 0:
print("YES")
print("NO")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
1
o, d, t = int(input()), int(input()), int(input())
if d >= o <= t:
print(od)
elif o >= d <= t:
print(d)
else:
print(t)
2
o, d, t = int(input()), int(input()), int(input())
if o == d == t :
print(3)
elif o == d or o == t or d == t:
print(2)
else:
print(0)
3
x1, x2, y1, y2 = int(input()), int(input()), int(input()), int(input())
if (x1 - x2) * (y1 - y2) == 0:
print("YES")
else:
print("NO")