Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
110393 | 丁俊杰 | 水仙花数 | Python3 | Accepted | 39 MS | 3780 KB | 248 | 2025-02-19 14:51:49 |
m,n=map(int,input().split()) flag=False list1=[] for i in range(m,n+1): res=0 for j in str(i): res+=int(j)**3 if res==i: flag=True list1.append(i) if flag: print(*list1) else: print("no")