暴力

jiayou  •  1个月前


def f(n):
n =str(n)[::-1]
# print(n)
return int(n)
k = 0
for i in range(10,100):
for j in range(1,100):
if i -j == 27 and f(i) ==j:
k+=1
print(k)


评论: