| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 85303 | 张智博 | 水仙花数II | Python3 | Wrong Answer | 35 MS | 3764 KB | 325 | 2024-07-16 21:44:16 |
m, n = map(int, input().split()) result = [] for num in range(m, n + 1): num_str = str(num) digit_count = len(num_str) total = 0 for digit in num_str: total += int(digit) ** digit_count if total == num: result.append(num) if result: print(result) else: print("no")
------Input------
400 600
------Answer-----
407
------Your output-----
[407]