接下來就把剩下的題目分享一下
a = int(input())
b = int(input())
c = int(input())
dis_1 = abs(a-b)
dis_2 = abs(a-c)
if dis_1 < dis_2:
print(dis_1)
else:
print(dis_2)
a = int(input())
num_100 = a//100
num_10 = (a//10)%10
num_1 = a%10
if num_1>num_10 and num_10>num_100:
print('YES')
else:
print('NO')
a = int(input())
num_12 = str(a//100)
num_34 = str(a%10) + str(a//10%10)
if num_12 == num_34:
print('YES')
else:
print('NO')
a = int(input())
b = int(input())
c = int(input())
if a!=b and b==c:
print(1)
elif a!=b and a==c:
print(2)
else:
print(3)
a = int(input())
b = int(input())
c = int(input())
if a!=1 and b!=1:
if (c%a==0 or c%b==0) and (c//a<b or c//b<a):
print('YES')
else:
print('NO')
else:
print('NO')
a = int(input())
if (a%4==0 and a%100!=0) or (a%400==0):
print('LEAP')
else:
print('COMMON')
month = int(input())
if month == 2:
print(28)
elif month == 4 or month == 6 or month == 9 or month == 11:
print(30)
else:
print(31)
a = int(input())
b = int(input())
o_1 = 0
o_2 = 0
if a==2:
if b == 28:
o_1 = a+1
o_2 = 1
else:
o_1 = a
o_2 = b+1
elif a==4 or a==6 or a==9 or a==11:
if b == 30:
o_1 = a+1
o_2 = 1
else:
o_1 = a
o_2 = b+1
else:
if b == 31:
o_2 = 1
if a==12:
o_1 = 1
else:
o_1 = a+1
else:
o_1 = a
o_2 = b+1
print(o_1)
print(o_2)
a = int(input())
b = int(input())
if a == 0 and b == 0:
print('many solutions')
elif a == 0 and b != 0 or b % a != 0:
print('no solution')
else:
print(b // a)
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
f = int(input())
o_x = 0
o_y = 0
if a==c and a!=e:
o_x = e
else:
if a==e:
o_x = c
else:
o_x = a
if b==d and b!=f:
o_y = f
else:
if b==f:
o_y = d
else:
o_y = b
print(o_x)
print(o_y)
a = int(input())
b = int(input())
c = int(input())
o1 = 0
o2 = 0
o3 = 0
if c>a and c>b:
o3 = c
if a>b:
o1, o2 = b, a
else:
o1, o2 = a, b
elif b>a and b>c:
o3 = b
if a>c:
o1, o2 = c, a
else:
o1, o2 = a, c
else:
o3 = a
if b>c:
o1, o2 = c, b
else:
o1, o2 = b, c
print(o1)
print(o2)
print(o3)