C. 练33.3 水仙花数

    Type: Default 1000ms 64MiB

练33.3 水仙花数

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.

Description

尼克在学习了“水仙花数”这一课后,想找出所有的“水仙花数”,但他没有足够的时间去做这件事。所以,请你试编一程序,求出所有的“水仙花数”。 说明:如果一个三位数等于它各个数位上的数字的立方和,那么这个数就是“水仙花数”。

Input Format

Output Format

一行,若干个整数,表示所有的“水仙花数”,两数之间以一个空格隔开。

153 370 371 407

Source

http://bas.ssoier.cn:8086/problem_show.php?pid=3203 循环结构

课后练习3(循环结构)

Not Claimed
Status
Done
Problem
6
Open Since
2025-12-13 0:00
Deadline
2025-12-20 23:59
Extension
24 hour(s)