水仙花数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

打印出所有的"水仙花数",所谓"水仙花数"是指一个三位数整数,其各位数字立方和等于该数本身。例如:153是一个"水仙花数",因为153=135333153=1^3+5^3+3^3

小提示:利用for循环控制100~999的整数数,每个整数分解出个位,十位,百位。

输出保证,每行一个水仙花数。

输入

Output

若干行,每行一个水仙花数

内容过于真实不予展示

周六1900--循环综合练习

Not Claimed
Status
Done
Problem
63
Open Since
2025-9-13 0:00
Deadline
2025-11-1 23:59
Extension
24 hour(s)