题解 | 牛牛的四叶玫瑰数
牛牛的四叶玫瑰数
https://www.nowcoder.com/practice/b1ee23676ad54919b50aa1a09da1704e
l, r = map(int, input().split())
for i in range(l, r+1):
j = str(i)
s = 0
for x in j:
x = int(x) ** 4
s = s + x
if s == i:
print(i,end=' ')